/* #84a8b2;  this is the light green */
/* #77558e rgb(119,85,142) is purple*/
/* #195768 is the darker blue on the logo and favicon*/
:root {
	--background-color-on-change: #ebe534;
}
body {
    color: #000;
    font-family: "Verdana", sans-serif;
    min-height: 100vh;
    margin: 5;
}

.welcomehome {
    text-align: center;
    font-size: xx-large;
}

.hometext {
    text-align: center;
    font-size: medium;
}

/*Top navigation formatting and building*/
.topnav {
    overflow: hidden;
    background-color: #84a8b2;
    position: sticky;
    top: 0px;
}

.topnav #hamburgerLinks {
    display: flex;
    float: right
}

.topnav a {
    color: black;
    padding: 14px 17px;
    text-decoration: none;
    font-size: 13pt;
    display: block;
}

.topnav a.hamLink {
    right: 0;
}

.topnav a.icon {
    background: #77558e;
    display: block;
    position: absolute;
    right: 0;
    top: 0;
}

.topnav a.hover {
    background-color: rgb(119,85,142);
    color: #000;
}

.centerMe {
	text-align: center;
}

footer {
    position: fixed;
    background-color: #fff;
    z-index: -1;
    right: 0;
    bottom: 0;
}

/*Table formatting*/

table {
    border-radius: 20px;
    empty-cells: show;
}

/*zebra stripe*/
tr:nth-child(even){
    background-color: #f2f2f2;
}

tr:nth-child(odd){
    background-color: #fff;
}

/*round the corners on the zebra stripe of the last row*/
tr:last-child td:first-child{
    border-bottom-left-radius: 20px;
}
tr:last-child td:last-child{
    border-bottom-right-radius: 20px;
}

tr:first-child th:first-child {
    border-top-left-radius: 20px;
}

tr:first-child th:last-child {
    border-top-right-radius: 20px;
}

th, td{
    border: none; 
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
}

/*underline the headers in a table*/
th {border-bottom: 2px solid black;}

/*Input items formatting*/

button {
    border-radius: 20px;
    border-width: thin;
}

input:enabledButton {
    background-color: #ff0000;
}

input, select {
    border-radius: 20px;
    border-width: thin;
}

.disabledInput {
    background-color: #cfcfcf;
}

.errMessage {
    background-color: #ff0000;
    font-size: large;
    font-weight: bold;
    display: inline;
}

/*Hover tool tips*/
td.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
  cursor: pointer;
}

.tooltiptext {
  visibility: hidden;
  width: 130px;
  background-color: black;
  color: #ffffff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  position: absolute;
  z-index: 1;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

/* Container for the toggle */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

/* Hide default checkbox */
.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The track */
.slider {
    position: absolute;
    cursor: pointer;
    background-color: #ccc;
    border-radius: 24px;
    width: 100%;
    height: 100%;
    transition: background-color 0.3s;
}

/* The circular slider */
.slider::before {
    content: "";
    position: absolute;
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 2px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s;
}

/* Toggled state */
.toggle-switch input:checked+.slider {
    background-color: #195768;  /*dark green*/
}

.toggle-switch input:checked+.slider::before {
    transform: translateX(27px);
}
