
* {
  box-sizing: border-box;
}

body {
  font-family: "Arial";
  color: black;
  background-color:white;

}

label.ft {font-size:10.0pt;font-family:"Arial"; color:#a0a0a0;}
label.ft:hover {background-color: #edf2f2;  cursor: pointer; color:white;}

/* Style the header */
header {

  background-color: white;
  max-width: 800px;
  text-align: center;
  font-size: 20pt;
  color: white;
  color: #818181;
  padding-bottom: 10px;
}

p.tc_header{

  background-color: white;
  max-width: 800px;
  text-align: left;
  font-size: 14pt;
  color: white;
  color: #818181;
  padding-bottom: 10px;
  text-decoration: underline;
}

article {
  padding-left: 20px;
  width: auto;
  margin-left:0px;
  background-color: white;
  font-size: 12pt;
  border-left: double;
  border-left-width: 30px;
  border-color: #e0efff;
  max-width: 1200px;
  
}

/* Clear floats after the columns */
section::after {
  content: "";
  display: table;
  clear: both;
}

/* Style the footer */
footer {
  padding: 0px;
  padding-bottom:25px;
  background-color: #e0efff;
  text-align: center;
  color: black;
  font-size: 11pt;
}


.tc_button {
  background-color: #e0efff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 185px;
  color: #3e546d;
  position: static;
  outline: none;
  cursor: pointer;
  font-size : clamp(8px, calc(60vw / 36), 16px);
  width: 18%;
  max-width: 200px;
  padding: 8px 0px;
  border: 1px solid  #4780c0;
  border-radius: 5px;
  margin: 1px 1px;
}

.tc_button:hover {
  background-color: #353230;
  color:white;
}

.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #111;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 40px;
}

.sidenav a,p {
  padding: 2px 2px 0px 22px;
  text-decoration: none;
  font-size: 15px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.sidenav a:hover {
  color: #f1f1f1;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

/* Responsive layout - makes the two columns/boxes stack on top of each other instead of next to each other, on small screens */
@media (max-width: 970px) {
    article {
    width: 100%;
    height: auto;
    margin-left:0px;
    border-left-width: 0px;
    padding-left: 0px;
  }
  

.temperature_graph_bg {
  width: 460px;

}
  
  
}

/* Add styles to the form container */
.container {
  position: absolute;
  left: 20px;
  margin: 20px;
  max-width: 300px;
  padding: 16px;
  background-color: white;
}

/* Full-width input fields */
input[type=text], input[type=password] {
  width: 100%;
  padding: 10px;
  margin: 5px 0 22px 0;
  border: none;
  background: #f1f1f1;
}

input[type=text]:focus, input[type=password]:focus {
  background-color: #ddd;
  outline: none;
}

/* Set a style for the submit button */
.btn {
  background-color: #04AA6D;
  color: white;
  padding: 16px 20px;
  border: none;
  cursor: pointer;
  width: 100%;
  opacity: 0.9;
}

.btn:hover {
  opacity: 1;
}

.bg-img {
  /* The image used */
  background-image: url("/images/Top.jpg");
  min-height: 900px;
  /* Center image and scale*/
  background-position: left;
  background-repeat: no-repeat;
  background-size: auto;
}

.bg-imgb {
  /* The image used */
  background-image: url("/images/Bottom.jpg");
  min-height: 824px;
  /* Center image and scale*/
  background-position: left;
  background-repeat: no-repeat;
  background-size: auto;
}

div span {
    color: black;
    background-color: #88b3f7;
  }
  
.temperature_bg {
  /* The image used */
  background-image: url("/images/weather_bg.jpg");
  background-position: left;
  background-repeat: no-repeat;
  background-size:  931px 165px;
  box-shadow: 0px 0px 3px 3px white inset;
  text-shadow: 0px 0 3px white;
}

.temperature_graph_bg {
  display: flex;
  flex-wrap: wrap;
  background-color: #222222;
  box-shadow: 0px 0px 3px 3px black ;
  max-width: 920px;

}

.power_graph_bg {
  display: flex;
  flex-wrap: wrap;
  background-color: #222222;
  box-shadow: 0px 0px 3px 3px black ;
  max-width: 610px;

}

.tooltip { position: relative;  display: inline-block;  content: attr(data-tooltip); white-space: pre-wrap; }
.tooltip .tooltiptext {  visibility: hidden;  width: 200px;  background-color: #555;  color: #fff;  text-align: center;  border-radius: 6px;  padding: 5px 0;  position: absolute;  z-index: 1;  bottom: 125%;  left: -10%;  margin-left: 0px;  opacity: 0;  transition: opacity 0.3s;}
.tooltip .tooltiptext::after {  content: "";  position: absolute;  top: 100%;  left: 50%;  margin-left: -5px;  border-width: 5px;  border-style: solid;  border-color: #555 transparent transparent transparent;}
.tooltip:hover .tooltiptext {  visibility: visible;  opacity: 1;}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  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.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  background-color: white;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

table, th, td, {
  border:0px solid black;
  border-collapse: collapse;
  font-size:12.0pt;font-family:"Arial"; color:#124980;
  white-space: nowrap;  overflow: hidden;
  width: 80%;
}
/* Table formatting */

#tctable {
  font-family: Arial;
  border-collapse: collapse;
  width: 100%;
  background-color: white;
  color: grey;
}

#tctable s td, #tctable  th {
  border: 1px solid #ddd;
  padding: 8px;
}

#tctable  tr:nth-child(even){background-color: #f2f2f2;}

#tctable  tr:hover {background-color: #ddd;}

#tctable  th {
  padding-top: 0px;
  padding-bottom: 0px;
  text-align: left;
  background-color: #124980;
  color: white;
}

#tctableb {
  font-family: Arial;
  border-collapse: collapse;
  width: 100%;
  background-color: white;
  color: grey;  
}

#tctableb s td, #tctableb  th {
  border: 1px solid #ddd;
  padding: 8px;
}


#tctableb  th {
  padding-top: 0px;
  padding-bottom: 0px;
  text-align: left;
  background-color: #124980;
  color: white;
}
