/* #84a8b2;  this is the light green */
/* #77558e rgb(119,85,142) is purple*/
/* #195768 is the darker blue on the logo and favicon*/
/* note: 16px is 100% default font size*/
:root {
	--background-color-on-change: #ebe534; /*yellow, see changeColor.js*/
	--standard-dark-color: #195768;        /*darker bluegreen on logo*/
	--standard-light-color: #84a8b2;       /*lighter bluegreen*/
	--standard-trim-color: #77558e;        /*purple trim*/
	--standard-label-color: #000;          /*basic black*/
	--standard-background-color: #e3dede;  /*light gray*/
	--standard-dev-warning-color: yellow;  /*light gray*/
	--standard-button-color: var(--standard-trim-color, #fff);
	--standard-margin: 12px;
	--standard-margin-small: 8px;
	--standard-check-scale: 1.5;
	--standard-font-size-tiny: 10px;
	--standard-font-size-small: 16px;
	--standard-font-size-medium: 20px;
	--standard-font-size-large:  22px;
	--standard-max-mobile-screen:  500px;  /*768 is std, cannot be used in @media*/
	--error-message-color: #FF4242;        /*red*/
	--standard-font-family: Verdana, sans-serif;
}

body {
    color: var(--standard-label-color, #000);
    background-color: var(--standard-background-color, #ccc6c6);
    font-family: var(--standard-font-family, Verdana, sans-serif);
    font-size: var(--standard-font-size-medium, 18px);
    min-height: 100vh;
    margin: 50;
    margin-left: var(--standard-margin, 12px);
}

li {
	display: inline-block;
}

.bigCheck {
  zoom: var(--standard-check-scale,1);
  transform: scale(var(--standard-check-scale,1));
  -ms-transform: scale(var(--standard-check-scale,1));
  -webkit-transform: scale(var(--standard-check-scale,1));
  -o-transform: scale(var(--standard-check-scale,1));
  -moz-transform: scale(var(--standard-check-scale,1));
  transform-origin: 0 0;
  -ms-transform-origin: 0 0;
  -webkit-transform-origin: 0 0;
  -o-transform-origin: 0 0;
  -moz-transform-origin: 0 0;
}

@media (max-width: 500px) {
   .hideOnMobile {
	display: none;
   }
   .hideOnWideScreen {
   }
   .stackedWide li.stackedLIWide {
	display: inline;
	flex-direction: column;
	width: 18ch;
   }
  .spanLabelMobile {
        margin-left: var(--standard-margin, 12px);
  }
  .spanLabelWide {
	display: none;
        margin-left: var(--standard-margin, 12px);
  }
}
@media (min-width: 501px) {
   .hideOnMobile {
   }
   .hideOnWideScreen {
	display: none;
   }
   .stackedWide li.stackedLIWide {
	display: inline;
	flex-direction: column;
	width: 50ch;
   }
  .spanLabelMobile {
	display: none;
        margin-left: var(--standard-margin, 12px);
  }
  .spanLabelWide {
        margin-left: var(--standard-margin, 12px);
  }
}

.currentuser {
	display: inline-block;
	float: right;
	padding: 5px 5px 0px 0px;
        margin-top: var(--standard-margin, 12px);
}

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

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

/*Top navigation formatting and building*/
@media (max-width: 500px) {
   .topnav {
    overflow: hidden;
    background-color: var(--standard-light-color, #fff);
    top: 0px;
   }
}
@media (min-width: 501px) {
   .topnav {
    overflow: hidden;
    background-color: var(--standard-light-color, #fff);
    top: 0px;
    position: sticky;
   }
}

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

.topnav a.active {
    display: inline-block;
    position: relative;
    margin-top: var(--standard-margin);
    top: -25px;
    width: 50px;
    height: 52px;
}

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

.topnav a.hamLink {
    right: 0;
}

.topnav a.icon {
    background: var(--standard-trim-color, #fff);
    display: block;
    position: absolute;
    right: 0;
    top: 0;
}

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

.centerMe {
	text-align: center;
}

.footer-left {
    position: fixed;
    font-size: var(--standard-font-size-tiny);
    background-color: var(--standard-background-color, #ccc6c6);
    left: 1;
    bottom: 0;
    z-index: -5;
}

/* removed z-index-1 and pointer directive so link worked*/
.footer-right {
    position: fixed;
    font-size: var(--standard-font-size-tiny);
    background-color: var(--standard-background-color, #ccc6c6);
    right: 0;
    bottom: 0;
    z-index: -10;
}

/*Table formatting*/

thead th {
    border-color: var(--standard-dark-color, #000);
    margin-left: var(--standard-margin, 12px);
}
table {
    border: 3px;
    border-style: solid;
    border-radius: 10px;
    border-color: var(--standard-dark-color, #000);
    empty-cells: show;
    margin-top: 20px;
    margin-bottom: 50px;
    margin-left: var(--standard-margin, 12px);
}

/*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: 10px;
}
tr:last-child td:last-child{
    border-bottom-right-radius: 10px;
}

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

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

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*/

input[type="checkbox"] {
    accent-color: var(--standard-dark-color, #fff);
}
input[type=number] {
    width: 8ch;
}

input[type=button] {
    background-color: var(--standard-button-color, #fff);
    color: white;
    border-radius: 10px;
    border-width: thin;
    font-size: var(--standard-font-size-large, 12px);
    margin-left: var(--standard-margin, 12px);
}

input[type=submit] {
    background-color: var(--standard-button-color, #fff);
    color: white;
    border-radius: 10px;
    border-width: thin;
    font-size: var(--standard-font-size-large, 12px);
    margin-left: var(--standard-margin, 12px);
}

input::file-selector-button {
    background-color: var(--standard-button-color, #fff);
    color: white;
    border-radius: 10px;
    border-width: thin;
    font-size: var(--standard-font-size-large, 12px);
}

button {
    background-color: var(--standard-button-color, #fff);
    color: white;
    border-radius: 10px;
    border-width: thin;
    font-size: var(--standard-font-size-large, 12px);
    margin-left: var(--standard-margin, 12px);
}

input:enabledButton {
    background-color: var(--standard-button-color, #fff);
    color: white;
    border-radius: 10px;
    border-width: thin;
    font-size: var(--standard-font-size-large, 12px);
    margin-left: var(--standard-margin, 12px);
}

input, select {
    background-color: #fff;
    border-radius: 10px;
    border-width: thin;
    font-size: var(--standard-font-size-medium, 12px);
}

input {
    font-size: var(--standard-font-size-medium, 12px);
}

.disabledInput {
    background-color: #cfcfcf;
    pointer-events: none;
}

.inputGrid label {
	display: inline-block;
	width: 100%;
	text-align: left;
}
.inputGrid {
    margin-bottom: 10px;
    justify-content: flex-end;
}

h1,h2,h3 {
        margin-left: var(--standard-margin, 12px);
}

.spanLabel {
        margin-left: var(--standard-margin, 12px);
}
.spanEnv {
        background-color: var(--standard-dev-warning-color, #fff);
}
.stacked {
	display: grid;
	gap: 20px;
	max-width: 25ch;
	padding: 6px;
        border: 3px;
        margin-left: var(--standard-margin, 12px);
	border-style: solid;
	border-radius: 10px;
        border-color: var(--standard-dark-color, #000);
	list-style-type: none;
}
.stacked li {
	display: flex;
	flex-direction: column;
	max-width: 20ch;
}

.stackedWide {
	display: grid;
	gap: 20px;
	max-width: 50ch;
	padding: 6px;
        border: 3px;
        margin-left: var(--standard-margin, 12px);
	border-style: solid;
	border-radius: 10px;
        border-color: var(--standard-dark-color, #000);
	list-style-type: none;
}

.fieldError {
    font-weight: bold;
}

.statusMessage {
    font-size: large;
    font-weight: bold;
    display: inline;
}
.errMessage {
    background-color: var(--error-message-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;
}
button.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: 10px;
  position: absolute;
  z-index: 1;
}

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

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

/* Hide default checkbox */
.toggle-switch input {
    display: inline-block;
    float: right;
    opacity: 0;
    width: 0;
    height: 0;
}

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

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

.tiny {
    margin-right: var(--standard-margin-small, 12px);
    font-size: var(--standard-font-size-small, 12);
}

/* Toggled state */
.toggle-switch input:checked+.slider {
    background-color: var(--standard-dark-color, #000);
}

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