html,
body {
  min-height: 100%;
}
body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  margin: 0;
  padding: 0;
}
.header-image {
  width: 100%;
  height: 180px;
  position: absolute;
  top: 0;
}
.logo {
  width: auto;
  height: 80px;
  position: absolute;
  top: 20px;
  z-index: 10;
}
.company-logo {
  width: auto;
  height: 70px;
  position: absolute;
  top: 95px;
  right: 20px;
  z-index: 10;
}
main {
  padding: 20px;
  max-width: 1200px;
  margin: auto;
  margin-top: 180px; /* Space for header image */
  position: relative;
  text-align: center;
  margin-bottom: 5%;}
.flash {
  position: absolute;
  top: 20%;
  left: 20%;
  background-color: #90bef3;
  color: darkblue;
  border: 4px solid #52558c;
  border-radius: 5px;
  padding: 20px;
  margin: 20px;
  z-index: 20;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: baseline;
}
.success.flash {
  position: absolute;
  background-color: #92f390;
  color: darkgreen;
  border: 4px solid #528c6f;
  border-radius: 5px;
  padding: 20px;
  margin: 20px;
  z-index: 20;
}
.error.flash {
  position: absolute;
  background-color: #f39090;
  color: darkred;
  border: 4px solid #8c5252;
  border-radius: 5px;
  padding: 20px;
  margin: 20px;
  z-index: 20;
}
.flash button {
  border: none;
  background-color: transparent;
  font-size: x-large;
  margin-left: 20px;
  cursor: pointer;
}
.flash h3 {
  margin: 0;
}
a {
  color: #ff8b33;
}
h2>a{
  font-size: large;
}
h1,
h2,
.h2 {
  padding: 10px;
  margin: 0;
  color: #291d1b;
  font-weight: bold;
  font-size: revert;
}
i {
  font-size: 30px;
}
p {
  margin: 0;
}
.tiny {
  height: 50px;
}
form {
  margin-top: 20px;
  width: 60%;
  margin: auto;
}
form label {
  display: block;
  color: #291d1b;
  width: 100%;
  margin: 5px;
}
.multi-item-row {
  display: flex;
  justify-content: space-between;
}
form .location-list {
  list-style-type: none;
  text-align: start;
}
.location-list li * {
  text-wrap: nowrap;
  width: auto !important;
}
form .checkbox {
  display: inline-block;
  width: 100%;
  height: auto;
  margin: 0;
  vertical-align: middle;
  border: 1px solid #9b9a9a;
  border-radius: 0.1875rem;
  background-color: white;
  background-repeat: no-repeat;
  background-position: 50% 50%;
}
.required {
  color: red;
}
.d-none {
  display: none;
}
.no-border {
  border: 0px;
  background-color: transparent;
}
.tableselect td {
  padding: 5px;
  text-align: left;
}
table{
    border-collapse: collapse;
    border: #291d1b 1px solid;
    border-radius: 5px;
    margin:auto;
    table-layout: fixed;
    width: 100%;
}
th {
    background-color: #9b9a9a94;
    padding: 5px;
}
table, th,td {
    border-collapse: collapse;
    border: #291d1b 1px solid;
    padding: 5px;
    font-size: small;
}
td p {
  margin:0;
  padding:0;
}
th,td{
  width: 50%;
  word-wrap: normal;
}
th.small,td.small {
  width: 30%;
  word-wrap: break-word;
}
th.tiny,td.tiny {
  width: 25%;
}
tr:hover>td {
    background-color: #f3ca905a;
}
input,
select,
textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #9b9a9a;
  border-radius: 5px;
  box-sizing: border-box;
  background-color: white;
}
.btn-primary {
  background-color: #ff8b33;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  font-size: medium;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin: 10px;
}
.btn-primary:hover {
  background-color: #f1aa72;
}
.btn-secondary {
  background-color: white;
  color: #ff8b33;
  padding: 10px 20px;
  border: 1px solid #ff8b33;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  font-size: medium;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin: 10px;
}
.btn-secondary:hover {
  background-color: #fddac0;
}
.btn-group {
  display: flex;
  justify-content: center;
}
.footer_button {
  background-color: transparent;
  color: #ff8b33;
  border: none;
  font-size: medium;
  text-decoration: underline;
}
footer {
  background-color: #291d1b;
  color: #ff8b33;
  text-align: center;
  padding: 20px 0 20px 0;
  position: fixed;
  bottom: 0;
  width: 100%;
}
@media screen and (max-width: 500px) {
  .header-image {
    height: 20%; /* Adjust height for smaller screens */
  }
  .logo {
    height: 60px; /* Adjust logo size for smaller screens */
    top: 2%;
  }
  .company-logo {
    height: 50px; /* Adjust company logo size for smaller screens */
    top: 11%;
  }
  main {
    height: 70%;
    margin-top: 40%; /* Adjust main content margin for smaller screens */
    margin-bottom: 15%;
  }
  .tableselect {
    width: 100%;
  }
  h2,
  .h2 {
    margin-top: 10%;
  }
  .btn-group {
    height: 100%;
    margin: 5%;
  }
  form {
    width: 95%;
  }
  input,
  select,
  textarea {
    margin-bottom: 1%;
  }
}
@media screen and (max-width: 375px) {
  .header-image {
    height: 20%; /* Adjust height for smaller screens */
  }
  .logo {
    height: 9%; /* Adjust logo size for smaller screens */
    width: auto;
    top: 2%;
    left: 3%;
  }
  .company-logo {
    height: auto;
    width: 90%;
    top: 11%;
    right: 5%;
  }
  main {
    height: 70%;
    margin-top: 40%; /* Adjust main content margin for smaller screens */
    margin-bottom: 15%;
  }
  h1 {
    font-size: large;
  }
  h2,
  .h2 {
    margin-top: 5%;
    font-size: medium;
    padding: 0;
  }
  .btn-group {
    height: 100%;
    margin: 0;
  }
  .btn-primary,
  .btn-secondary {
    padding: 5px 10px;
    font-size: medium;
    width: 100%;
    margin: 1%;
    text-wrap: nowrap;
  }
  .multi-item-row {
    align-items: end;
  }
  form .checkbox {
    width: 30px;
    height: 30px;
  }
}
