body {
  max-width: max-content;
  margin: auto;
}

h1 {
  text-align: center;
}

p {
  text-align: center;
}

form {
  text-align: center;
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
}
form div {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  margin-bottom: 4px;
  width: 100%;
}
form div div {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  margin: 0px;
}
form label {
  text-align: left;
  font-size: small;
  margin-right: 2px;
  position: relative;
  bottom: -2px;
}
form input {
  display: table-row;
  margin-bottom: 2px;
  margin-left: 0px;
  padding: 2px 6px !important;
}
form select {
  padding: 2px !important;
}

hr {
  width: 85%;
}

.vertical-line {
  border-left: 4px solid black;
  height: 90px;
}

.footer .wrapper .row {
  justify-content: center;
}

.tooltip {
  position: relative;
  flex-basis: fit-content;
  margin: 0px;
  font-size: small;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.tooltip img {
  height: 17px !important;
  width: 17px !important;
  cursor: pointer;
  position: relative;
  bottom: -1px;
}
.tooltip .tooltip-text {
  visibility: hidden;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 5px 5px;
  border-radius: 6px;
  width: 240px;
  bottom: 100%;
  left: 50%;
  margin-left: -120px; /* Use half of the width (120/2 = 60), to center the tooltip */
  position: absolute;
  z-index: 1;
}
.tooltip .tooltip-text::after {
  content: " ";
  position: absolute;
  top: 100%; /* At the bottom of the tooltip */
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: black transparent transparent transparent;
}
.tooltip .tooltip-left {
  margin-left: -210px;
}
.tooltip .tooltip-left::after {
  left: 88%;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltip-text {
  visibility: visible;
}

#intro-line-1 {
  margin: 10px 6px 0 6px;
}

#intro-line-2 {
  margin: 0 6px 0 6px;
  font-weight: bold;
}

#disclosure-line {
  font-size: smaller;
  line-height: 1.1;
  font-style: italic;
  margin: 6px 6px 12px;
}

#logo-header {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#logo-header img {
  margin-right: 15px;
  margin-left: 30px;
  height:100px;
  width:auto;
}
#logo-header img.GLO30 {
  margin-right: 24px;
  height:50px;
  width:auto;
}
#logo-header img.TheSwingBays {
  height:135px;
  width:auto;
}
#logo-header img.Rise {
  height:135px;
  margin-right:24px;
  margin-top:2px;
  margin-bottom:2px;
}
#logo-header img.OnusIV {
  height:82px;
  margin-right:24px;
  margin-top:4px;
}
#logo-header img.Jars {
  height:112px;
  margin-top:4px;
}
#logo-header h1 {
  margin: 0 0 0 15px;
}

#form-container {
  width: 30%;
  max-width: 360px;
  height: fit-content;
  margin: 32px 30px 10px 0px;
  border: black solid 1px;
  padding: 10px;
  background-color: lightgrey;
  display: none;
}
#form-container p {
  margin: 10px 0;
}

#form-main {
  width: 100%;
}

#close-form {
  font-size: small;
}

#form-btn {
  font-size: 1vw;
  padding: 12px 10px;
  min-width: 150px;
  margin-bottom: 4px;
  margin-top: 12px;
}

#form-error {
  text-align: left;
  margin: 0px;
  color: red;
  font-weight: 600;
  font-size: smaller;
  padding-left: 2px;
  display: none;
}

#admin-error {
  margin: 0px;
  font-weight: 500;
  font-size: smaller;
  display: none;
  width:auto;
}

#admin-btn {
  font-size: 1vw;
  padding: 12px 10px;
  min-width: 150px;
  margin-bottom: 4px;
  margin-top:6px;
}

#status {
  display: none;
  font-size: smaller;
}

#admin-container {
  display: flex;
  padding-top:4px;
  flex-direction: row;
  justify-content:center;
  align-items:flex-start;
}

#login-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

div .state-status {
  display: none;
  height: fit-content;
  width:440px;
  margin: 100px 30px 10px 16px;
  border: black solid 1px;
  padding: 10px;
  background-color: lightgrey;
  display: none;
}

.print-view {
  display: none;
}

#print-btn {
  float: right;
  margin: 8px;
  cursor: pointer;
}

#tables-container {
  margin-left: 7%;
  margin-right: 7%;
  min-width: fit-content;
  display: none;
}

#main-container {
  display: flex;
  justify-content: space-evenly;
  padding: 10px 0px;
}

#map-container {
  width: 60%;
  max-width: 950px;
  margin-left: 30px;
  visibility: hidden;
  display: flex;
  align-content: center;
  flex-wrap: wrap;
}

@media screen and (max-width: 860px) {
  .vertical-line {
    height: 65px;
  }
  #logo-header img {
    margin-right: 15px !important;
    margin-left: 10px !important;
    height:auto !important;
    width:44% !important;
  }
  #logo-header img.TheSwingBays {
    width:21% !important;
  }
  #logo-header img.Rise {
    width:21% !important;
  }
  #logo-header img.Jars {
    width:30% !important;
  }
  #logo-header h1 {
    margin: 0 10px 0 15px;
    font-size: 5vw;
  }
  #intro-line-1 {
    font-size: 3vw;
    line-height: 1.1;
  }
  #intro-line-2 {
    font-size: 3vw;
  }
  #disclosure-line {
    font-size: 2.5vw;
  }
  #main-container {
    flex-wrap: wrap;
  }
  #admin-container {
    flex-wrap: wrap;
  }
  #map-container {
    width: 100%;
    margin: 10px 0px;
  }
  #form-container {
    max-width: 1000px;
    margin: 10px;
    width: 100%;
  }
  #form-btn {
    font-size: 3.5vw;
  }
  .extended-footer {
    display: none;
  }
  .footer {
    padding: 10px;
  }
}