body {
  padding: 50px;
  font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
}

p {
  padding-left: 10px;
}

h2, h3, h4 {
  padding-left: 10px;
}

table a {
  color: #00B7FF;
  padding-left: 10px;
}

table, th, td {
  border-collapse: collapse;
  padding: 5px;
}

.nav {
  display: flex;
  justify-content: flex-start;
  align-content: center;
  margin: auto;
  background-color: beige;
  padding: 20px;
}

.list {
  border: 1px solid black;
}

.list th, td{
  width: 250px;
  border: 1px solid black;
}

#login {
  display: flex;
  justify-content: flex-end;
  margin-left: auto;
}


#footer {
  position: fixed;
  bottom: 0;
  left: 0;
  color: rgb(8, 8, 8); 
  margin-left: 10px;
  background-color: beige;
  padding: 4px;
}

#patients-show-grid {
  background-color: beige;
  display: grid;
  grid-template-columns: 1fr 2fr;
  border-collapse: collapse;
  border: 1px solid black;
}

#patients-show-grid h3, p {
  height: 20px;
}

#user-show-grid {
  background-color: beige;
  display: grid;
  grid-template-columns: 1fr 2fr;
  border-collapse: collapse;
  border: 1px solid black;
}

#user-show-grid h3, p {
  height: 15px;
}

#user-show-grid h3, p {
  height: 15px;
}

#assigned-patients-grid {
  background-color: beige;
  display: grid;
  grid-template-columns: 1fr 2fr;
  border-collapse: collapse;
  border: 1px solid black;
}

#assigned-patients-grid h3, p {
  height: 15px;
}

#vitals-main-container {
  background-color: beige;
  display: flex;
}

.addObject {
  display: flex;
  justify-content: center;
  align-items: baseline;
  margin-top: 5vh;
}

.Home-nav:hover, button:hover, #addHospitalRecord:hover, .login:hover, .vitals_Link:hover, .progress_note_link:hover, .text-area-submit-button:hover {
    background-color: #18c212 
}

#Vitals-Header, #Progress-Note-Header {
  padding-top: 10px;
}

button, .Home-nav, #addHospitalRecord, .vitals_Link {
  display: inline-block;
  display: flex;
  /* flex-direction: column; */
  margin-left: 5px; 
  padding: 4px 8px;
  background-color: #3498db;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  justify-content: center;
  align-content: center;
  transition: background-color 0.3s ease-in-out;
}

.progress_note_link {
  display: inline-block;
  display: flex;
  flex-direction: column;
  margin-left: 5px; 
  margin-top: 7px;
  padding: 4px 8px;
  background-color: #3498db;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  transition: background-color 0.3s ease-in-out;
}

.text-area-submit-button {
  display: inline-block;
  width: 200px;
  margin-top: 5px;
  margin-bottom: 10px;
  padding: 4px;
  background-color: #3498db;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  transition: background-color 0.3s ease-in-out;
}

.nav-right-div{
  display: flex;
  flex-direction: row;
  justify-content: center;  
  align-content: center;
  align-self: flex-end;
  margin-left: auto;
}

.WavelengthsClass {
  display: flex;
  justify-content: center; 
  align-items: flex-start;
}

.vitals-container {
  display: flex;
  flex-direction: column;
  /* height: 400px; */
  padding-right: 15px;
  border: 1px solid black;
  padding: 10px;
}

#progress-note-main-container {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  padding: 5px;
  height: 50vh;
}

.progress-note-container {
  display: flex;
  flex-direction: column;
  background-color: beige;
  padding: 10px;
  margin: 10px;
  height: 45vh;;
  width: 30vw;
  overflow: auto;
}

.dischargeForm{
  display: flex;
  justify-content: center;
  align-items: baseline;
}

nav > a.active {
  color: #18c212;
  cursor: default;
}

body {
  background-image: url("../medicalBackground.jpg");
  background-repeat: repeat;
  background-attachment: fixed;
}

 .table-container{
  display: flex;
  justify-content: center; 
  align-items: flex-start;
  width: fit-content;
  margin: auto;
  background-color: beige;
}

.IndexAddPatient{
  position: fixed;
  bottom: 0;
  display: flex;
  justify-content: center; 
  align-items: center;
}

.abnormal-vitals {
  color: red;
  font-weight: bold;
}

.login {
  display: flex;
  justify-content: flex-end;
  background-color: #9fc7e2;
  color: #131212;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  padding: 4px 8px;
  margin-left: auto;
  align-items: center;
  transition: background-color 0.3s ease-in-out;
}

a.Home-nav.active {
  color: white;
  background-color: #18c212; /* Color for active navigation links */
}

.login img {
  height: 25px;
  background-color: #9fc7e2;
  transition: background-color 0.3s ease-in-out;
}

.discharged-highlight {
  background-color: rgb(225, 218, 218);
}

.wavelength-gif {
  display: flex;
  justify-content: center;
  padding-top: 20px;
  padding-bottom: 10px;
  background-color: rgb(139, 197, 225)
}

.wavelength-png {
  display: none;
  width: auto;
  height: 80px;
  padding-left: 20%;
  padding-right: 20%;
  padding-top: 20px;
  padding-bottom: 5px;
  background-color: rgb(139, 197, 225)
}

.wavelength-container {
  display: flex;
  flex-direction: column;
  background-color: white;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 10px;
  padding-right: 10px;
}

.home-text {
  height: 150px;
  background-color: white;
  padding-top: 0px;
  padding-bottom: 10px;
  padding-left: 30px;
  padding-right: 30px;
}

@media (max-width: 690px) {
  .wavelength-gif {
    display: none;
  }
  .wavelength-png {
    display: flex;
  }
  .home-text {
    display: flex;
    height: 220px;
  }
}

#providers-view-container {
  display: flex;
  background-color: beige;
}

#providers-view-container td, th {
  width: 30px;
}

.providers-view-table {
  background-color: beige;
}

.beige-background {
  background-color: beige;
  padding: 10px;
  margin: 10px;
  height: 75vh;
  width: 75vw;
  overflow: auto;
}

.user-avatar-nav {
  display: inline;
  align-items: center;
}

.user-avatar-nav img {
  border-radius: 50%;
  height: 22px;
  margin-left: auto;
  margin-bottom: -4px;
}

.flex-center-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.avatar-image {
  border-radius: 50%;
  height: 60px;
}

#user-avatar-box {
  display: flex;
  justify-content: center;
  width: 70px;
  background-color: beige;
  border: 1px solid black;
  height: 70px;
  margin-left: 10px;
  margin-bottom: 10px;
}

.flex-left-container {
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
}

.progress-note {
  width: 25vw;
  height: 45vh;
  padding: 10px;
}

#new-progress-note-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  justify-content: space-evenly;
  height: 60vh;
}

.flex-center-column-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.small-avatar {
  margin-bottom: -4px;
  height: 30px;
  width: 30px;
  display: inline;
}

.custom-form-container {
  background-color: beige;
  border: 1px solid black;
  display: flex;
  flex-direction: column;
  padding: 5px;
}

.custom-form-3-col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 10px;
}

.custom-form-2-col {
  display: grid;
  grid-template-columns: 1fr 2fr;
  padding: 10px;
}

.lineBreakText {
  white-space: pre-wrap;
}

.progress-note-author {
  background-color: beige;
  padding: 5px;
  padding-left: 10px;
}