/* Root varible definitions only */
:root {
  --bs-blue: #346094;
  --bs-purple: #745085;
  --bs-yellow: #edc358;
  --bs-teal: #099381;
  --bs-primary: #346094;
  --bs-warning: #edc358;
  --bs-danger: #b34141;
  --bs-status: #087990;
  --bs-error: #b34141;
  --bs-primary-rgb: 52, 96, 148;
  --bs-warning-rgb: 237, 195, 88;
  --bs-danger-rgb: 179, 65, 65;
  --bs-status-rgb: 8, 121, 144;
  --bs-error-rgb: 179, 65, 65;
  --bs-primary-text-emphasis: #15263b;
  --bs-warning-text-emphasis: #5f4e23;
  --bs-danger-text-emphasis: #481a1a;
  --bs-status-text-emphasis: #03303a;
  --bs-error-text-emphasis: #481a1a;
  --bs-primary-bg-subtle: #d6dfea;
  --bs-warning-bg-subtle: #fbf3de;
  --bs-danger-bg-subtle: #f0d9d9;
  --bs-status-bg-subtle: #cee4e9;
  --bs-error-bg-subtle: #f0d9d9;
  --bs-primary-border-subtle: #aebfd4;
  --bs-warning-border-subtle: #f8e7bc;
  --bs-danger-border-subtle: #e1b3b3;
  --bs-status-border-subtle: #9cc9d3;
  --bs-error-border-subtle: #e1b3b3;
  --bs-body-font-size: 1.125rem;
  --bs-link-color: #346094;
  --bs-link-color-rgb: 52, 96, 148;
  --bs-link-hover-color: #087990;
  --bs-link-hover-color-rgb: 8, 121, 144;
  --bs-link-hover-decoration: currentcolor underline solid 3px;
  --bs-highlight-bg: #fbf3de;
  --bs-focus-ring-color: rgba(52, 96, 148, 0.25);
  --bs-form-invalid-color: #b34141;
  --bs-form-invalid-border-color: #b34141;
}

@media (min-width: 992px) {
  html {
    overflow-x: hidden;
  }
}

/* Default element styles. */
/* Headings. */
h6,
.h6,
h5,
.h5,
h4,
.h4,
h3,
.h3,
h2,
.h2,
h1,
.h1 {
  margin-bottom: 1.414rem;
  font-weight: 400;
  line-height: 1.25;
}

h1,
.h1 {
  font-size: calc(1.4302rem + 2.1624vw);
}

@media(min-width: 1200px) {

  h1,
  .h1 {
    font-size: 3.052rem;
  }
}

h2,
.h2 {
  font-size: calc(1.3691rem + 1.4292vw);
}

@media(min-width: 1200px) {

  h2,
  .h2 {
    font-size: 2.441rem;
  }
}

h3,
.h3 {
  font-size: calc(1.3203rem + 0.8436vw);
}

@media(min-width: 1200px) {

  h3,
  .h3 {
    font-size: 1.953rem;
  }
}

h4,
.h4 {
  font-size: calc(1.2813rem + 0.3756vw);
}

@media(min-width: 1200px) {

  h4,
  .h4 {
    font-size: 1.563rem;
  }
}

h5,
.h5 {
  font-size: 1.25rem;
}

h6,
.h6 {
  font-size: 1rem;
}

/* Text elements. */
p {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

/* Links. */
a {
  text-underline-offset: 0.1875em;
}

a:focus,
a:hover {
  -webkit-text-decoration: var(--bs-link-hover-decoration);
  text-decoration: var(--bs-link-hover-decoration);
}

/* Links styled as buttons. */
a.btn:focus,
a.btn:hover {
  text-decoration: none;
}

/* Button styles. */
.btn {
  --bs-btn-font-size: 1.125rem;
}

.btn-primary {
  --bs-btn-bg: #346094;
  --bs-btn-border-color: #346094;
  --bs-btn-hover-bg: #2c527e;
  --bs-btn-hover-border-color: #2a4d76;
  --bs-btn-focus-shadow-rgb: 82, 120, 164;
  --bs-btn-active-bg: #2a4d76;
  --bs-btn-active-border-color: #27486f;
  --bs-btn-disabled-bg: #346094;
  --bs-btn-disabled-border-color: #346094;
}

.btn-secondary {
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #6c757d;
    --bs-btn-disabled-border-color: #6c757d;
}

.btn-warning {
  --bs-btn-bg: #edc358;
  --bs-btn-border-color: #edc358;
  --bs-btn-hover-bg: #f0cc71;
  --bs-btn-hover-border-color: #efc969;
  --bs-btn-focus-shadow-rgb: 201, 166, 75;
  --bs-btn-active-bg: #f1cf79;
  --bs-btn-active-border-color: #efc969;
  --bs-btn-disabled-bg: #edc358;
  --bs-btn-disabled-border-color: #edc358;
}

.btn-danger {
  --bs-btn-bg: #b34141;
  --bs-btn-border-color: #b34141;
  --bs-btn-hover-bg: #983737;
  --bs-btn-hover-border-color: #8f3434;
  --bs-btn-focus-shadow-rgb: 190, 94, 94;
  --bs-btn-active-bg: #8f3434;
  --bs-btn-active-border-color: #863131;
  --bs-btn-disabled-bg: #b34141;
  --bs-btn-disabled-border-color: #b34141;
}

.btn-status {
  --bs-btn-color: #fff;
  --bs-btn-bg: #087990;
  --bs-btn-border-color: #087990;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #07677a;
  --bs-btn-hover-border-color: #066173;
  --bs-btn-focus-shadow-rgb: 45, 141, 161;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #066173;
  --bs-btn-active-border-color: #065b6c;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #087990;
  --bs-btn-disabled-border-color: #087990;
}

.btn-error {
  --bs-btn-color: #fff;
  --bs-btn-bg: #b34141;
  --bs-btn-border-color: #b34141;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #983737;
  --bs-btn-hover-border-color: #8f3434;
  --bs-btn-focus-shadow-rgb: 190, 94, 94;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #8f3434;
  --bs-btn-active-border-color: #863131;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #b34141;
  --bs-btn-disabled-border-color: #b34141;
}

.btn-outline-primary {
  --bs-btn-color: #346094;
  --bs-btn-border-color: #346094;
  --bs-btn-hover-bg: #346094;
  --bs-btn-hover-border-color: #346094;
  --bs-btn-focus-shadow-rgb: 52, 96, 148;
  --bs-btn-active-bg: #346094;
  --bs-btn-active-border-color: #346094;
  --bs-btn-disabled-color: #346094;
  --bs-btn-disabled-border-color: #346094;
}

.btn-outline-warning {
  --bs-btn-color: #edc358;
  --bs-btn-border-color: #edc358;
  --bs-btn-hover-bg: #edc358;
  --bs-btn-hover-border-color: #edc358;
  --bs-btn-focus-shadow-rgb: 237, 195, 88;
  --bs-btn-active-bg: #edc358;
  --bs-btn-active-border-color: #edc358;
  --bs-btn-disabled-color: #edc358;
  --bs-btn-disabled-border-color: #edc358;
}

.btn-outline-danger {
  --bs-btn-color: #b34141;
  --bs-btn-border-color: #b34141;
  --bs-btn-hover-bg: #b34141;
  --bs-btn-hover-border-color: #b34141;
  --bs-btn-focus-shadow-rgb: 179, 65, 65;
  --bs-btn-active-bg: #b34141;
  --bs-btn-active-border-color: #b34141;
  --bs-btn-disabled-color: #b34141;
  --bs-btn-disabled-border-color: #b34141;
}

.btn-outline-status {
  --bs-btn-color: #087990;
  --bs-btn-border-color: #087990;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #087990;
  --bs-btn-hover-border-color: #087990;
  --bs-btn-focus-shadow-rgb: 8, 121, 144;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #087990;
  --bs-btn-active-border-color: #087990;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #087990;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #087990;
  --bs-gradient: none;
}

.btn-outline-error {
  --bs-btn-color: #b34141;
  --bs-btn-border-color: #b34141;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #b34141;
  --bs-btn-hover-border-color: #b34141;
  --bs-btn-focus-shadow-rgb: 179, 65, 65;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #b34141;
  --bs-btn-active-border-color: #b34141;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #b34141;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #b34141;
  --bs-gradient: none;
}

.btn-link {
  --bs-btn-focus-shadow-rgb: 82, 120, 164;
}

.btn-link:hover,
.btn-link:focus-visible {
  -webkit-text-decoration: currentcolor underline solid 3px;
  text-decoration: currentcolor underline solid 3px;
}

/* alert styles. */
.alert-status {
  --bs-alert-color: var(--bs-status-text-emphasis);
  --bs-alert-bg: var(--bs-status-bg-subtle);
  --bs-alert-border-color: var(--bs-status-border-subtle);
  --bs-alert-link-color: var(--bs-status-text-emphasis);
}

.alert-error {
  --bs-alert-color: var(--bs-error-text-emphasis);
  --bs-alert-bg: var(--bs-error-bg-subtle);
  --bs-alert-border-color: var(--bs-error-border-subtle);
  --bs-alert-link-color: var(--bs-error-text-emphasis);
}

.sitewide-alert {
  margin: 0 calc(50% - 50vw);
}

.sitewide-alert.alert {
  border-left: none;
  border-right: none;
  border-top: none;
  border-radius: 0;
  padding: 1.75rem 0;
}

.sitewide-alert p:only-child,
.sitewide-alert p:last-child {
  margin-bottom: 0;
}

.link-status {
  color: RGBA(var(--bs-status-rgb), var(--bs-link-opacity, 1)) !important;
  text-decoration-color: RGBA(var(--bs-status-rgb),
      var(--bs-link-underline-opacity, 1)) !important;
}

.link-status:hover,
.link-status:focus {
  color: RGBA(6, 97, 115, var(--bs-link-opacity, 1)) !important;
  text-decoration-color: RGBA(6,
      97,
      115,
      var(--bs-link-underline-opacity, 1)) !important;
}

.link-error {
  color: RGBA(var(--bs-error-rgb), var(--bs-link-opacity, 1)) !important;
  text-decoration-color: RGBA(var(--bs-error-rgb),
      var(--bs-link-underline-opacity, 1)) !important;
}

.link-error:hover,
.link-error:focus {
  color: RGBA(143, 52, 52, var(--bs-link-opacity, 1)) !important;
  text-decoration-color: RGBA(143,
      52,
      52,
      var(--bs-link-underline-opacity, 1)) !important;
}

/* Form styles. */
input,
.dxbl-text-edit-input,
.dxbl-text-edit
select,
textarea,
.form-control {
    max-width: 100%;
    width: auto;
}

/* Nav styles. */
.nav-link.active {
  -webkit-text-decoration: var(--bs-link-hover-decoration);
  text-decoration: var(--bs-link-hover-decoration);
}

/* Header region. */
.page__header {
  border-bottom: 1px solid var(--bs-primary);
}

/* Branding styles. */
.branding__logo {
  border-bottom: 0.1875em solid transparent;
  display: inline-block;
  height: 100%;
  margin-bottom: 0;
  text-decoration: none;
}

.branding__logo:focus,
.branding__logo:hover {
  border-bottom-color: var(--bs-link-hover-color);
  text-decoration: none;
}

/* Main menu. */
.main-menu {
  padding: 0;
}

.main-menu .navbar-nav>.nav-item .nav-link {
  border-bottom: 3px solid transparent;
  color: var(--bs-link-color);
  font-size: 1.25rem;
  height: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 26px;
  text-decoration: none;
}

.main-menu .navbar-nav>.nav-item .nav-link:focus,
.main-menu .navbar-nav>.nav-item .nav-link:hover {
  border-bottom-color: var(--bs-link-hover-color);
  color: var(--bs-link-hover-color);
  text-decoration: none;
}

.main-menu.navbar .nav-link.active {
  border-bottom-color: var(--bs-link-hover-color);
}

/* Footer region. */
.page__footer {
  background-color: var(--bs-primary);
  border-top: .625em solid #2e5482;
  color: var(--bs-white);
}

.page__footer::before {
  content: "";
  background-color: var(--bs-primary);
  position: absolute;
  z-index: -1;
  top: -1em;
  left: 0;
  right: 0;
  border: 0.1875em solid var(--bs-primary);
  height: 1em;
}

.page__footer a {
  color: var(--bs-white);
}

.page__footer a:focus,
.page__footer a:hover {
  color: var(--bs-white);
}
