* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  --bs-body-font-weight: 400;
  --bs-body-bg: #f3f3f3;
  --bs-body-color: #007900;
}

table {
  text-align: left;
}

.logo {
  width: max-content;
  margin: 4px;
  color:#000;
}
.bat-logo {
  width: 400px;
  height: auto;
}

.main-content { 
  color: #007900;
  display: flex;
  margin: 36px 80px;
  align-items: center;
  flex-direction: column;
}

.row {
  width: 100%;
}

.survey-read-only {
  width: 100%;
}

#section-header {
  margin-bottom: 40px;
}

#section-description {
   font-size: 14px;
}

main > div {
  text-align: justify;
}

.navbar {
  background-color: #fff;
  --bs-navbar-padding-x: 0.5rem;
  --bs-navbar-padding-y: 1rem;
}

a {
  color: #0064D0;
  text-decoration: none;
}

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

nav .container {
  padding: 0;
  margin-left: 0;
  max-width: 1550px;
}

nav a.nav-link {
  text-transform: uppercase;
  --bs-nav-link-color: #007900;
  --bs-nav-link-font-size: 1.2rem;
}
  
nav a.nav-link:hover {
  color: rgb(23, 23, 23, 0.9);
  text-decoration: none;
}

nav .nav {
  margin-top: auto;
  margin-bottom: auto;
}
.nav-tabs .nav-link {
  position: static;
  border-color: #dee2e6 #dee2e6 #fff;
}

.btn-info {
  --bs-btn-color: #fff;
  --bs-btn-bg: #117C96;
  --bs-btn-border-color: #117C96;
  --bs-btn-active-shadow: inset 0 1px 0 rgba(255,255,255,0.15),0 1px 1px rgba(0,0,0,0.075);
}
.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #006EE4;
  --bs-btn-border-color: #006EE4;
  --bs-btn-active-shadow: inset 0 1px 0 rgba(255,255,255,0.15),0 1px 1px rgba(0,0,0,0.075);
}
.btn-success {
  --bs-btn-color: #fff;
  --bs-btn-bg: #208331;
  --bs-btn-border-color: #208331;
  --bs-btn-active-shadow: inset 0 1px 0 rgba(255,255,255,0.15),0 1px 1px rgba(0,0,0,0.075);
}
.btn-warning {
  --bs-btn-color: #fff;
  --bs-btn-bg: #8F6D00;
  --bs-btn-border-color: #8F6D00;
  --bs-btn-active-shadow: inset 0 1px 0 rgba(255,255,255,0.15),0 1px 1px rgba(0,0,0,0.075);
}

.controls > input:not([type=checkbox]), select {
  width: 100%;
}

p.request-account {
  padding-top: 8px;
}
.surveys {
  display: flex; 
  place-content: center;
}

.user-actions {
  margin-bottom: 24px;
}

.certificate-main {
  height: 100px;
  display: flex;
  justify-content: center;
}
.certificate-main p {
  color: black;
  padding-top: 2rem;
}

.certificate-content {
  background-color: white;
  display: grid;
  justify-content: center;
  align-items: center;
  margin: 30px 0 30px;
}
.print-controls {
  text-align: center;
}

.section-nav {
  color: #444444; /* this is the inherited color for the disabled sections */
}

.future-section {
  cursor: not-allowed !important;
  opacity: 0.8;
  text-decoration: none;
}
.current-section::after {
  content: " - (*current*)";
  color: #005700;
}
.completed-surveys {
  margin-top: 3rem;
  background-color: floralwhite;
  padding: 12px;
  border-radius: 6px;
}
.completed-survey-table th, td {
  padding: 2px 16px;
}
.survey-actions button, .survey-actions a {
  margin: 4px 12px 4px 2px;
}
.section-header-ro {
  margin-bottom: 40px;
  page-break-inside: avoid;
}
.section-description-ro {
  font-size: 16px;
}
.section-read-only {
  margin-bottom: 80px;
}
.section-read-only div.form-group {
  page-break-inside: avoid;
}
.form-text {
  display: block;
}
.text-muted {
  color: #495057 !important;
}

/*** Button CSS styling ported from Bootstrap 4 ***/
.btn-primary {
  color: #fff;
  background-color: #006ee4;
  border-color: #006ee4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
}
.btn-primary:hover {
  color: #fff;
  background-color: #005cbe;
  border-color: #0055b1;
}
.btn-primary:focus,
.btn-primary.focus {
  color: #fff;
  background-color: #005cbe;
  border-color: #0055b1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 0 0.2rem rgba(38, 132, 232, 0.5);
}
.btn-primary.disabled,
.btn-primary:disabled {
  color: #fff;
  background-color: #006ee4;
  border-color: #006ee4;
}
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
  color: #fff;
  background-color: #0055b1;
  border-color: #004fa4;
}
.btn-primary:not(:disabled):not(.disabled):active:focus,
.btn-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-primary.dropdown-toggle:focus {
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125), 0 0 0 0.2rem rgba(38, 132, 232, 0.5);
}
.btn-secondary {
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
}
.btn-secondary:hover {
  color: #fff;
  background-color: #5a6268;
  border-color: #545b62;
}
.btn-secondary:focus,
.btn-secondary.focus {
  color: #fff;
  background-color: #5a6268;
  border-color: #545b62;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 0 0.2rem rgba(130, 138, 145, 0.5);
}
.btn-secondary.disabled,
.btn-secondary:disabled {
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d;
}
.btn-secondary:not(:disabled):not(.disabled):active,
.btn-secondary:not(:disabled):not(.disabled).active,
.show > .btn-secondary.dropdown-toggle {
  color: #fff;
  background-color: #545b62;
  border-color: #4e555b;
}
.btn-secondary:not(:disabled):not(.disabled):active:focus,
.btn-secondary:not(:disabled):not(.disabled).active:focus,
.show > .btn-secondary.dropdown-toggle:focus {
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125), 0 0 0 0.2rem rgba(130, 138, 145, 0.5);
}
.btn-success {
  color: #fff;
  background-color: #208331;
  border-color: #208331;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
}
.btn-success:hover {
  color: #fff;
  background-color: #186426;
  border-color: #165a22;
}
.btn-success:focus,
.btn-success.focus {
  color: #fff;
  background-color: #186426;
  border-color: #165a22;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 0 0.2rem rgba(65, 150, 80, 0.5);
}
.btn-success.disabled,
.btn-success:disabled {
  color: #fff;
  background-color: #208331;
  border-color: #208331;
}
.btn-success:not(:disabled):not(.disabled):active,
.btn-success:not(:disabled):not(.disabled).active,
.show > .btn-success.dropdown-toggle {
  color: #fff;
  background-color: #165a22;
  border-color: #13501e;
}
.btn-success:not(:disabled):not(.disabled):active:focus,
.btn-success:not(:disabled):not(.disabled).active:focus,
.show > .btn-success.dropdown-toggle:focus {
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125), 0 0 0 0.2rem rgba(65, 150, 80, 0.5);
}
.btn-info {
  color: #fff;
  background-color: #117c96;
  border-color: #117c96;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
}
.btn-info:hover {
  color: #fff;
  background-color: #0d6074;
  border-color: #0c5668;
}
.btn-info:focus,
.btn-info.focus {
  color: #fff;
  background-color: #0d6074;
  border-color: #0c5668;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 0 0.2rem rgba(53, 144, 166, 0.5);
}
.btn-info.disabled,
.btn-info:disabled {
  color: #fff;
  background-color: #117c96;
  border-color: #117c96;
}
.btn-info:not(:disabled):not(.disabled):active,
.btn-info:not(:disabled):not(.disabled).active,
.show > .btn-info.dropdown-toggle {
  color: #fff;
  background-color: #0c5668;
  border-color: #0b4d5d;
}
.btn-info:not(:disabled):not(.disabled):active:focus,
.btn-info:not(:disabled):not(.disabled).active:focus,
.show > .btn-info.dropdown-toggle:focus {
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125), 0 0 0 0.2rem rgba(53, 144, 166, 0.5);
}
.btn-warning {
  color: #fff;
  background-color: #8f6d00;
  border-color: #8f6d00;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
}
.btn-warning:hover {
  color: #fff;
  background-color: #695000;
  border-color: #5c4600;
}
.btn-warning:focus,
.btn-warning.focus {
  color: #fff;
  background-color: #695000;
  border-color: #5c4600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 0 0.2rem rgba(160, 131, 38, 0.5);
}
.btn-warning.disabled,
.btn-warning:disabled {
  color: #fff;
  background-color: #8f6d00;
  border-color: #8f6d00;
}
.btn-warning:not(:disabled):not(.disabled):active,
.btn-warning:not(:disabled):not(.disabled).active,
.show > .btn-warning.dropdown-toggle {
  color: #fff;
  background-color: #5c4600;
  border-color: #4f3c00;
}
.btn-warning:not(:disabled):not(.disabled):active:focus,
.btn-warning:not(:disabled):not(.disabled).active:focus,
.show > .btn-warning.dropdown-toggle:focus {
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125), 0 0 0 0.2rem rgba(160, 131, 38, 0.5);
}
.btn-danger {
  color: #fff;
  background-color: #d43343;
  border-color: #d43343;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
}
.btn-danger:hover {
  color: #fff;
  background-color: #ba2736;
  border-color: #af2533;
}
.btn-danger:focus,
.btn-danger.focus {
  color: #fff;
  background-color: #ba2736;
  border-color: #af2533;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 0 0.2rem rgba(218, 82, 95, 0.5);
}
.btn-danger.disabled,
.btn-danger:disabled {
  color: #fff;
  background-color: #d43343;
  border-color: #d43343;
}
.btn-danger:not(:disabled):not(.disabled):active,
.btn-danger:not(:disabled):not(.disabled).active,
.show > .btn-danger.dropdown-toggle {
  color: #fff;
  background-color: #af2533;
  border-color: #a52330;
}
.btn-danger:not(:disabled):not(.disabled):active:focus,
.btn-danger:not(:disabled):not(.disabled).active:focus,
.show > .btn-danger.dropdown-toggle:focus {
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125), 0 0 0 0.2rem rgba(218, 82, 95, 0.5);
}

/*** Print styles ***/
@media print {
  *, *::before, *::after {
    background: #fff !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  body > div.container, .main-content {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
  }
  .navbar {
    display: none !important;
  }
  pre {
    white-space: pre-wrap !important;
  }
  .widget-select, .section-header, .section-header-ro {
    page-break-inside: avoid;
  }
  pre, blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  tr, img, h2, h3 {
    page-break-after: avoid;
  }
}