html,
body {
  height: 100%;
  margin: 0;
}
a {
  color: #00534c;
  text-decoration: underline;
}

a:hover {
  color: #00534c;
  text-decoration: underline;
}

.content-bg {
  background: white;
}

.bg-green {
  background-color: #004d44;
  color: white;
}

.sidebar-icons {
  width: 1.5rem;
  text-align: center;
}

.btn-gold {
  background: rgba(179, 158, 106, 1);
  color: white;
}

.btn-gold:hover {
  background: rgba(179, 158, 106, 0.8);
  color: white;
}

.text-green {
  color: #00534c;
}

.text-gold {
  color: rgba(179, 158, 106, 1);
}

.btn-green {
  background: #004d44;
  color: white;
  text-decoration: none;
}

.btn-green:hover,
.btn-green:focus {
  background: #00664f;
  color: white;
  text-decoration: none;
}

.btn-green-alt {
  background: #6eb3aa;
  color: #004d44;
  text-decoration: none;
}

.btn-green-alt:hover,
.btn-green-alt:focus {
  background: rgba(110, 179, 170, 0.5);
  color: #004d44;
  text-decoration: none;
}

.btn-green-reg {
  background: #004d44;
  color: white;
  display: inline-block;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.375rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-green-reg:hover,
.btn-green-reg:focus {
  background: rgba(110, 179, 170, 0.5);
  color: #004d44;
}

#sidebar {
  width: 200px;
  transition: width 0.3s;
  flex-shrink: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 2em;
  background: linear-gradient(to bottom, #00534c, #00664f);
  position: fixed;
  top: 0;
  left: 0;
  overflow-y: auto;
}

#sidebar.collapsed {
  width: 80px;
  overflow-x: hidden;
}

#sidebar .nav-link {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  margin-bottom: 1em;
  color: white;
  text-decoration: none;
}

#sidebar .nav-link:hover {
  text-decoration: none;
}

#sidebar .nav-link i {
  font-size: 1.5rem;
  margin-right: 0.7em;
}

#sidebar .nav-link span {
  margin-left: 10px;
}

#sidebar.collapsed .nav-link span {
  display: none;
}

#sidebar.collapsed ~ .content {
  padding-left: 80px;
  transition: padding-left 0.3s ease;
}

.sidebar-collapsed #sidebar {
  width: 80px;
  overflow-x: hidden;
}

.sidebar-collapsed .wrapper {
  margin-left: 80px;
}

.sidebar-collapsed #sidebar.collapsed ~ .content {
  padding-left: 80px;
}

.wrapper {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-height: 100vh;
  margin-left: 200px;
  box-sizing: border-box;
  transition: margin-left 0.3s ease;
}

.wrapper.expanded {
  margin-left: 80px;
  transition: margin-left 0.3s ease;
}

.content {
  flex-grow: 1;
  overflow: auto;
  padding-bottom: 1.5em;
  transition: padding-left 0.3s ease;
}

@media (max-width: 768px) {
  .content {
    padding: 0;
  }
  #sidebar {
    display: none;
  }
  .wrapper {
    margin-left: 0;
  }
  .content {
    padding-left: 0;
  }
}

.footer {
  color: black;
  text-align: center;
  padding: 1em 0 0;
  box-sizing: border-box;
}

.footer-light-blue-bg {
  background: rgba(9, 28, 71, 0.1);
}

.footer-logo {
  width: 500px;
}

.footer-copyright {
  padding: 1em 0 0;
}

.login-section {
  width: 50%;
  background: rgba(0, 77, 68, 0.45);
  padding: 5%;
  border-radius: 1.2em;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .login-section {
    width: 90%;
  }
}

.content-heading-bg {
  background: rgba(0, 77, 68, 0.2);
}
.content-header-padding {
  padding: 1em;
}

.content-header-padding-form {
  padding: 1em;
}

@media (max-width: 768px) {
  .content-header-padding-form {
    padding: 0;
  }
}

.content-details-padding {
  padding: 0 2%;
}

.content-form-bg {
  background: rgba(0, 77, 68, 0.2);
  border-radius: 1em;
  padding: 1em;
}

.thead-green th {
  background: #00534c;
  color: white;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
  color: #00534c;
}

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

.img-circle-box {
  width: 120px;
  height: 120px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1em;
}

.circle-image {
  width: 60%;
  height: auto;
}

.img-circle-box {
  transition: box-shadow 0.3s ease;
}

.img-hover-link:hover .img-circle-box {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.hover-text {
  transition: all 0.3s ease-in-out;
}

.img-hover-link:hover .hover-text {
  font-weight: 500;
}

.img-hover-link {
  display: inline-block;
}

.content-green-bg {
  background: rgba(0, 77, 68, 0.1);
}

.content-green-bg-dark {
  background: rgba(0, 77, 68, 0.2);
}

.dashboard-subsection-title {
  margin-top: 1.5em;
}

.dashboard-action-cols {
  margin-top: 1.5em;
}

.form-navigation {
  margin: 1em 0;
}

.form-tables {
  margin: 1em 0;
  padding: 1em;
  border: 1px solid lightgray;
  border-radius: 0.7em;
  background: rgba(0, 77, 68, 0.2);
}

button.accordion-button {
  background: rgba(0, 77, 68, 0.8) !important;
  color: white !important;
}

.accordion-button:not(.collapsed)::after {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/></svg>');
  transform: rotate(180deg); /* Rotates the arrow to point upwards */
  content: "";
}

.accordion-button.collapsed::after {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/></svg>');
  transform: rotate(0deg); /* Keeps the arrow pointing downwards */
  content: "";
}

.accordion-item {
  border: none !important;
}

#form-section-tabs-bg {
  background: rgba(0, 77, 68, 0.7);
  position: fixed;
  height: 100vh;
  overflow-y: auto;
  padding: 4em 0 1em;
}

.accordion-body {
  padding: 0;
  background: rgba(0, 77, 68, 0.7);
}

.form-subsections-accordion {
  color: white;
  padding: 0.5em 0 0.5em 1.3em;
  cursor: pointer;
}

.form-subsections-accordion:hover {
  background-color: #003078;
}

.subsection-form {
  padding: 1em;
  /* border-radius: 1em; */
  background: rgba(0, 77, 68, 0.1);
  margin: 0 0 1em 0;
}

.subsection-form:nth-child(n + 2) {
  margin-top: 1em;
  background: none;
  padding: 0;
  padding-top: 1em;
}

.accordion-text {
  padding: 1em;
}

.accordion-a-text {
  color: white;
  text-decoration: none;
}

.accordion-a-text:hover {
  color: white;
  text-decoration: none;
}

.active-accordion {
  background-color: rgba(0, 77, 68, 0.5);
  font-weight: bold;
  color: white;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 1em;
}

.form-questions-field {
  flex: 0 0 50%;
  max-width: 50%;
  padding-right: 1rem;
}

.form-title {
  margin: 1em 0;
}

.field-notes {
  margin-top: 1em;
  font-weight: 700;
  font-size: 0.8em;
  color: grey;
  flex: 0 0 100%;
  max-width: 100%;
}

.field-header {
  margin: 1em 0;
  flex: 0 0 100%;
  max-width: 100%;
}

.form-field-details {
  flex: 1 0 0%;
  max-width: 100%;
  padding-right: 1rem;
  padding-left: 1rem;
}

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    margin-top: 1em;
    margin-bottom: 1em;
  }

  .form-questions-field {
    flex: 0 0 100%;
    max-width: 100%;
    padding-right: 0;
    padding-bottom: 0.5rem;
  }

  .form-field-details {
    flex: 0 0 100%;
    max-width: 100%;
    padding-right: 0;
    padding-left: 0;
    padding-top: 0.5rem;
  }
}

.readonly-form-control {
  background: #e4e4e4;
  color: #6d6969;
}

.help-description {
  padding: 1em 2em 0;
}

.help-container {
  background: rgba(171, 165, 145, 0.4);
  border-radius: 1em;
  padding: 1.2em 2em;
}

.help-text-title {
  padding: 1em 0;
}

.border-top-dark {
  border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.pdf-size {
  font-size: 1.4em;
}

.title-elipsis {
  max-width: 350px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* General FAQ Section Styling */
.faq-category {
  border-bottom: 1px solid rgb(195, 186, 186);
}

/* FAQ Toggle Button */
.faq-toggle {
  width: 100%;
  padding: 1rem;
  text-align: left;
  background-color: transparent;
  border: none;
  outline: none;
  font-size: 1.1rem;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  border-radius: 5px;
}

/* FAQ List Transition */
.faq-list {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 1rem;
  background: transparent;
}

/* FAQ List Content */
.faq-list ul {
  padding: 1rem 0;
}

.faq-list ul li {
  margin-bottom: 1em;
  border-bottom: 1px solid #ddd;
  padding-bottom: 1em;
}

.faq-list ul li:last-child {
  border-bottom: none;
}

.table-help-container {
  background: rgba(129, 132, 135, 0.2);
  border-radius: 1em;
  padding: 1em;
}

.td-grey {
  background: transparent !important;
}

@media (max-width: 768px) {
  #sidebar {
    display: none;
  }
  .wrapper {
    margin-left: 0;
  }
  .content {
    padding-left: 0;
  }
}

.content-with-sidebar {
  margin-left: 19%;
}

@media (max-width: 768px) {
  .content-with-sidebar {
    margin-left: 0;
  }
}

#toggle-password,
#toggle-password1,
#toggle-password2 {
  position: absolute;
  top: 0;
  right: 0;
  border: none;
}

/* Disables default password reveal button for microsoft edge */
input::-ms-reveal,
input::-ms-clear {
  display: none !important;
}

.main-form-area {
  height: 76vh;
  overflow-y: auto;
}

.back-button-area {
  display: flex;
  gap: 1em;
  justify-content: space-between;
  margin-top: 1em;
}

.footnote-backref-list {
  margin-top: 1em;
  font-weight: 700;
  font-size: 0.8em;
  color: grey !important;
  flex: 0 0 100%;
  max-width: 100%;
}

#message-container {
  list-style-type: none;
}

.custom-alert-warning {
  color: #856404;
  background-color: #fff3cd;
  border-color: #ffeeba;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}

svg.pdf-icon {
  height: 24px;
  width: 24px;
  fill: #00664f;
}

.pdf-icon-2 {
    font-size: 24px;
    width: 24px;
    height: 24px;
    line-height: 24px;
    color: #00664f;
}

.btn-blue {
  background: #004d44;
  color: white;
  text-decoration: none;
  margin-top: 1em;
}

.btn-blue:hover,
.btn-blue:focus {
  background: #00664f;
  color: white;
  text-decoration: none;
}

.remove-subform {
  margin-top: 1em;
}

a#download-link {
    color: white;
}

a#download-link:hover {
    color: #f4f4f4;
}