
  body {
    width: 60%;
    margin: auto;
    text-align: center;
    font-family: Arial;
    top: 50%;
    left: 50%;
}  

@media screen and (max-width: 800px) {
    body {
        width: 100%;
    }
}

table {
    margin-left: auto;
    margin-right: auto;
}

  div {
    margin-left: auto;
    margin-right: auto;
}  

h2 { font-size: 1.8rem; }
/** h2 { font-size: 2.5rem; } **/

.header {
	 padding: 1rem;
	 margin: 0 0 2rem 0;
	 background: #f2f2f2;
}

h1 {
    font-size: 2rem;
    font-family: Arial, sans-serif;
    text-align: center;
    /**
    text-transform: uppercase;
    **/
}

.content {
    display: flex;
}

@media screen and (max-width: 500px) /* Mobile */ {
    .content {
        flex-direction: column;
    }
}

.gauge {
    position: relative;
    display: block;
    width: 250px;
    height: 270px;
 /**   width: 12.5rem; 
    height: 16.25rem; **/
    background: rgb(220, 220, 241);
}


#batteryNeedle .needle
{
  display: inline-block;
  position: relative;
 /** transform-origin: 7px 103px;
  transform: rotate(-30deg);  **/
}

#moistureNeedle .needle
{
  display: inline-block;
  position: relative;
 /** transform-origin: 7px 103px;
  transform: rotate(30deg); **/
}

.needle 
{
    width: 14px;
    height: 100px;
    background: #070707;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border-top-left-radius: 100%;
    border-top-right-radius: 100%;
    display: inline-block;
    left: 0px;
    position: absolute;
    top: -340px;  
}

.gauge_value 
{
    position: relative;  
    font-size: 30px;
    text-align: center;
    font-family: Arial;
    top: -350px;
    left: 7px;
}

.gauge_value2 
{
    position: relative;  
    font-size: 16px;
    text-align: center;
    font-family: Arial;
    top: -365px;
    left: 7px;
}



#tableReadings { border-collapse: collapse; }

#tableReadings td, #tableReadings th {
    border: 1px solid #ddd;
    padding: 10px;
}

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

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

#tableReadings th {
    padding: 10px;
    background-color: #2f4468;
    color: white;
}


.ulalign 
{
    margin-left: 0;
    padding-left: 20px;
    text-align: left;
}



.button
{
  background-color: #7aa8b7; 
  border: none;
  border-radius: 30px;
  color: white;
  outline: none;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
}


.reducedwidth
{
    width: 330px;
    display: block;
    background: #f2f2f2;
    text-align: center;
    margin: auto;
    width: 80%;
}
  