/* PowerApps Portal Theme Overrides */
/* Design System Variables */
:root {
  --primary-font: "Source Sans Pro Web", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --primary-color: #302ce1;
  --secondary-color: #2f5fef;
  --accent-color: #1c6da6;
  --dark-blue: #15396c;
  --text-color: #000000;
  --light-text-color: #ffffff;
  --background-color: #ffffff;
  --border-color: #bcbcbc;
  --error-color: #a94442;
  --success-color: #0b80d0;
  --light-gray: #eeeeee;
  --medium-gray: #f2f2f2;
  --dark-gray: #232222;
  --base-font-size: 18px;
}

html,
body {
  font-family: var(--primary-font) !important;
  font-size: var(--base-font-size) !important;
  line-height: 1.5 !important;
}

/*****************************************************************/
/* BASE TYPOGRAPHY */
/*****************************************************************/

h1.underline,
h4.underline {
  font-family: var(--primary-font) !important;
  border-bottom: 1px solid #bcbcbc;
  padding-bottom: 21px;
}

@media (max-width: 767px) {
  .text_center-mobile {
    font-family: var(--primary-font) !important;
    text-align: center;
  }
}

/*****************************************************************/
/* NAVIGATION & BREADCRUMBS */
/*****************************************************************/

.breadcrumb > li a {
  color: #302ce1;
  padding: 2px 4px;
}

.breadcrumb > li a:hover {
  color: #302ce1;
}

.breadcrumb > li a:visited {
  color: #302ce1;
}

.pagination > li > a,
.pagination > li > span {
  background-color: transparent;
  border: 0px;
  margin-left: 10px;
  width: 40px;
  height: 40px;
  text-align: center;
}

.pagination > li:first-child > a:hover,
.pagination > li:first-child > span:hover {
  background: none;
}

.pagination > li:last-child > a:hover,
.pagination > li:last-child > span:hover {
  background: none;
}

.pagination > li > a:hover,
.pagination > li > a:focus,
.pagination > li > span:hover,
.pagination > li > span:focus {
  background-color: transparent;
  border-color: transparent;
}

.pagination > .active > a,
.pagination > .active > a:hover,
.pagination > .active > a:focus,
.pagination > .active > span,
.pagination > .active > span:hover,
.pagination > .active > span:focus {
  border-color: transparent;
  border-radius: 50%;
  border: solid 1px;
}

.logo-container {
  height: 51px;
  width: 187px;
  margin-left: 9px;
}

.fixed-top {
  border-width: 0;
}

.static-top {
  border-width: 0;
  margin-bottom: 0;
}

.navbar-default {
  border-color: transparent;
}

.homelink,
a.homelink:hover,
a.homelink:focus {
  color: #fff;
  text-decoration: none;
}

.btn.btn-default.btn-for-delete.btn-without-border {
  border: none !important;
  padding: 5px !important;
  font-size: 16px !important;
}

.btn.btn-default.btn-for-delete.btn-without-border:hover {
  border: 1px solid !important;
  padding: 4px !important;
}

.register-bar {
  clear: both;
}

.fixed-top.navbar {
  min-height: 67px;
}

.fixed-top.navbar .navbar-collapse {
  max-height: 510px;
  box-shadow: none;
  border-top: none;
  padding-top: 8px;
}

.fixed-top.navbar .form-inline {
  border: none;
  margin-left: 0;
  margin-right: 0;
}

.fixed-top.navbar .form-inline .form-control {
  font-size: 1em;
}

.static-top.navbar .navbar-collapse {
  max-height: 510px;
  box-shadow: none;
  border-top: none;
}

.static-top.navbar .form-inline {
  border: none;
  margin-left: 0;
  margin-right: 0;
}

.static-top.navbar .form-inline .form-control {
  font-size: 1em;
}

@media (min-width: 992px) {
  .fix-navbar .register-bar {
    display: none;
  }
}

.fixed-top.navbar > .container > .row > div {
  float: none !important;
  display: inline-block;
  vertical-align: bottom;
}

.static-top.navbar > .container > .row > div {
  float: none !important;
  display: inline-block;
  vertical-align: bottom;
}

.fixed-top.navbar .menu-bar > .navbar-nav > li > a {
  font-family: var(--primary-font) !important;
  font-size: var(--base-font-size) !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
}

.static-top.navbar .menu-bar > .navbar-nav > li > a {
  font-family: var(--primary-font) !important;
  font-size: var(--base-font-size) !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
}

.fixed-top.navbar .menu-bar > .navbar-nav > .divider-vertical {
  height: 21px;
  margin: 0 4px;
  margin-top: 14.5px;
  border-right: 1px solid #fff;
  border-left: 1px solid #666;
}

.static-top.navbar .menu-bar > .navbar-nav > li > a#search {
  padding-top: 15.5px;
}

.static-top.navbar .menu-bar > .navbar-nav > .divider-vertical {
  height: 21px;
  margin: 14.5px 4px;
  border-right: 1px solid #fff;
  border-left: 1px solid #666;
}

.fixed-top .navbar-brand {
  font-size: 2.11em;
  font-family: var(--primary-font);
  color: #232222;
  position: relative;
}

@media (max-width: 1200px) {
  .fixed-top .navbar-brand {
    position: initial;
    height: auto;
  }
}

.fixed-top .navbar-header {
  padding-top: 8px;
}

.static-top .navbar-brand {
  font-size: 2.11em;
  font-family: var(--primary-font);
  color: #232222;
  position: relative;
}

.fixed-top.navbar-dark {
  background-color: #232222;
  border-color: transparent;
}

.fixed-top.navbar-dark .navbar-brand {
  color: #fff;
}

.fixed-top.navbar-dark .divider-vertical {
  border-right-color: #fff;
  border-left-color: #111;
}

.static-top.navbar-dark {
  background-color: #ffffff;
  border-color: transparent;
  -webkit-box-shadow: 0 3px 5px rgba(57, 63, 72, 0.3);
  -moz-box-shadow: 0 3px 5px rgba(57, 63, 72, 0.3);
  box-shadow: 0 3px 5px rgba(57, 63, 72, 0.3);
}

.static-top.navbar-dark .navbar-brand {
  color: #fff;
}

.static-top.navbar-dark .divider-vertical {
  border-right-color: #fff;
  border-left-color: #111;
}

.navbar-dark .navbar-nav > li > a {
  color: #ffffff !important;
}

.navbar-dark .navbar-nav > li > a:hover {
  color: #ffffff !important;
}

.navbar-dark .navbar-nav > li > a:focus {
  color: #ffffff !important;
}

.navbar-dark .navbar-nav > li > a:visited {
  color: #ffffff !important;
}

@media (max-width: 1199px) {
  .navbar-dark .navbar-nav > li > a:hover {
    color: #ffffff !important;
  }
}

.menu-bar .shopping_link {
  position: relative;
}

.menu-bar .shopping_link .cart_amount {
  border-radius: 100%;
  height: 17px;
  width: 17px;
  position: absolute;
  bottom: 6px;
  right: -6px;
  background-color: #2f5fef;
  text-align: -webkit-center;
  line-height: 17px;
  font-size: 9px;
  padding-left: 1.9px;
  color: #fff;
}

.menu-bar .shopping_link .cart_amount:hover {
  color: #fff;
}

@media (max-width: 1199px) {
  .fixed-top .navbar-collapse .nav > .divider-vertical {
    display: none;
  }
}

@media (max-width: 1199px) {
  .static-top .navbar-collapse .nav > .divider-vertical {
    display: none;
  }
}

@media (max-width: 767px) {
  .fixed-top.navbar > .container > .row > div {
    display: block;
  }

  .navbar-header {
    position: relative;
  }
}

@media (max-width: 767px) {
  .static-top.navbar > .container > .row > div {
    display: block;
  }

  .navbar-header {
    position: relative;
  }
}

.card {
  -webkit-box-shadow: 0 0px 0px transparent;
  box-shadow: 0 0px 0px transparent;
}

.border-bottom {
  border-bottom: 1px solid #bcbcbc;
  padding-bottom: 84px;
}

.card {
  border-radius: 8px 8px 0 0 !important;
  border: none;
  box-shadow: none;
}

.card + .card {
  margin-top: 15px;
}

.card-header {
  border-bottom: 0;
}

.card-header .card-title a {
  text-decoration: none;
}

.card-header .card-title a:hover {
  color: #2f5fef;
}

.card-header .card-title a:before {
  content: " ";
  background-repeat: no-repeat;
  display: inline-block;
  width: 22px;
  height: 12px;
  background-position: -92px -5px;
  margin-right: 10.5px;
}

.card-header .card-title a.collapsed:before {
  background-position: -5px -126px;
}

.card-header + .panel-collapse > .card-body,
.card-header + .panel-collapse > .list-group {
  border-top: none;
}

.card-footer {
  border-top: 0;
}

.card-footer + .panel-collapse .card-body {
  border-bottom: none;
}

.card-header {
  font-size: 18px !important;
}

.card-header + .panel-collapse > .card-body {
  border-top-color: none;
}

.card-header .badge {
  color: transparent;
  background-color: #333333;
}

.card-footer + .panel-collapse > .card-body {
  border-bottom-color: none;
}

#content-container {
  display: block !important;
}

body {
  padding-top: 0px;
  margin: 0;
  height: 100%;
}

@media (max-width: 767px) {
  body {
    padding-top: 0px;
  }
}

footer {
  color: #ffffff !important;
  font-family: inherit !important;
  font-weight: 400 !important;
  font-size: 16px !important;
  background: #15396c !important;
  position: relative;
  padding-top: 5px;
  padding-bottom: 20px;
}

footer .footer-top {
  width: 100%;
  min-height: 130px;
  background-color: #15396c;
  display: flex;
  align-items: center;
}

footer .footer-top h3,
footer .footer-top h4 {
  color: #fff;
}

footer .footer-top .list-social-links {
  margin-top: 25px;
  margin-bottom: 12.5px;
}

@media screen and (max-width: 991px) {
  footer .footer-top h3,
  footer .footer-top .list-social-links {
    text-align: center;
  }
}

footer .footer-bottom {
  width: 100%;
  min-height: 68px;
  font-size: 14px;
  display: flex;
  align-items: center;
}

footer .footer-bottom p {
  margin: 0;
}

footer .footer-bottom h4 {
  margin-top: 0;
  color: #fff;
}

footer .footer-bottom ul {
  list-style-type: none;
  margin: 0;
}

footer .footer-bottom ul li a,
footer .footer-bottom ul li a:hover,
footer .footer-bottom ul li a:focus,
footer .footer-bottom ul li a:active,
footer .footer-bottom ul li a.active {
  font-size: 15px;
  color: #fff;
}

.list-social-links {
  list-style-type: none;
  padding-left: 0;
}

.list-social-links li {
  display: inline-block;
  margin: 0 10px;
}

.list-social-links li a,
.list-social-links li a:hover,
.list-social-links li a:focus,
.list-social-links li a:active,
.list-social-links li a.active {
  color: #fff;
}

@media screen and (max-width: 993px) {
  .section-landing h1 {
    font-size: 65px;
  }

  .section-landing h2 {
    letter-spacing: normal;
    margin-left: -3px;
  }
}

.user-icon {
  width: 16px;
  display: inline-block;
  margin-right: 7px;
}

.poll {
  background-color: #eeeeee;
  border-top: 7px solid #0b80d0;
  position: relative;
  padding-left: 15px;
  padding-right: 15px;
}

.poll .poll-header {
  display: flex;
  -ms-flex-align: center;
  -webkit-align-items: center;
  -webkit-box-align: center;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #bcbcbc;
  padding-bottom: 5px;
}

.poll .poll-header h4 {
  font-weight: bold;
  display: inline-block;
}

.poll .poll-content {
  padding-top: 25px;
}

.poll .poll-content p {
  font-size: 14px;
}

.poll .poll-content form {
  border-bottom: 1px solid #bcbcbc;
  padding-bottom: 10px;
}

.poll .poll-content .poll-buttons {
  padding-top: 20px;
  padding-left: 11px;
}

.poll .poll-content .poll-buttons .btn {
  padding: 4px 14px;
  font-size: 14px;
}

.poll .poll-content .poll-buttons .btn-default {
  color: #000;
  border-color: #000;
}

.poll .poll-content .poll-buttons .btn-default:hover {
  color: #000;
  border-color: #000;
}

.poll .poll-tags {
  padding-top: 10px;
}

.poll .poll-tags h4 {
  border-bottom: 1px solid #bcbcbc;
  padding-bottom: 10px;
}

.poll .poll-tags .tag {
  display: inline-block;
  background-color: #e1e1e1;
  color: #232222;
  padding: 5px 14px;
  margin: 5px 0px;
  text-transform: uppercase;
  font-size: 13px;
}

.nav-sidebar {
  padding-left: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.nav-sidebar .nav > li > a {
  padding: 4px 20px;
  color: #2f5fef;
  border-right: 2px solid #eeeeee;
}

.nav-sidebar .nav > li > a:hover,
.nav-sidebar .nav > li > a:focus {
  color: #232222;
  text-decoration: none;
  background-color: transparent;
  border-right: 2px solid #555555;
}

.nav-sidebar .nav > li > a:before {
  position: relative;
  top: 1px;
  display: inline-block;
  font-family: "Glyphicons Halflings";
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "\e250";
  margin-right: 7px;
}

.nav-sidebar .nav > .active > a {
  color: #232222;
  text-decoration: none;
  background-color: transparent;
  border-right: 2px solid #555555;
  font-weight: bold;
}

.nav-sidebar .nav > .active > a:before {
  content: "\e252";
}

.nav-sidebar .nav > .active:hover > a,
.nav-sidebar .nav > .activefocus > a {
  font-weight: bold;
}

.nav-sidebar .nav > .active > ul.nav {
  display: block;
}

.nav-sidebar .nav ul.nav {
  display: none;
}

.nav-sidebar .nav .nav > li > a {
  padding-top: 1px;
  padding-bottom: 1px;
  padding-left: 30px;
}

.nav-sidebar .nav .nav > .active,
.nav-sidebar .nav .nav > .active:hover,
.nav-sidebar .nav .nav > .active:focus {
  font-weight: bold;
}

.nav-sidebar .nav .nav .nav > li > a {
  padding-top: 1px;
  padding-bottom: 1px;
  padding-left: 60px;
}

.nav-sidebar .nav .nav .nav > li > a:before {
  content: "";
}

.nav-sidebar .nav .nav .nav > .active,
.nav-sidebar .nav .nav .nav > .active:hover,
.nav-sidebar .nav .nav .nav > .active:focus {
  font-weight: bold;
}

#navbar .dropdown-menu {
  margin-top: 8px;
}

#navbar .dropdown-search {
  padding-top: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  margin: 9px;
}

#navbar .dropdown-search #q {
  min-width: 200px;
}

@media (max-width: 1199px) {
  #navbar .dropdown-search .input-group-btn {
    vertical-align: top;
  }

  #navbar .dropdown-search #search-filter {
    width: 100%;
    text-align: left;
    padding-left: 25px;
  }

  #navbar .dropdown-search.dropdown-menu > li:hover,
  #navbar .dropdown-search .dropdown-menu > li:hover {
    color: white;
    background-color: transparent;
  }
}

.tabs-header {
  padding-bottom: 9.5px;
  margin: 42px 0 21px;
}

/* ERROR AND VALIDATION STYLING - Section 508 Compliant */

.help-block.error,
label.col-form-label.required:before,
.crmEntityFormView .cell div.info.required label:after,
.crmEntityFormView .cell div.info div.validators,
.crmEntityFormView .validator-text,
.crmEntityFormView .rank-order-cell .validator-text,
.crmEntityFormView .constant-sum-cell .validator-text,
.crmEntityFormView .stack-rank-cell .validator-text {
  color: var(--error-color) !important;
  font-family: var(--primary-font) !important;
  font-size: var(--base-font-size) !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
}

/* Error message alerts */
.alert.alert-block.alert-danger.error.clearfix p {
  font-family: var(--primary-font) !important;
  font-size: var(--base-font-size) !important;
  line-height: 1.5 !important;
  color: var(--error-color) !important;
}

@media screen and (-ms-high-contrast: active) {
  .navbar-default .navbar-toggler .navbar-toggler-icon {
    background-color: #888;
  }

  .navbar-dark .navbar-toggler .navbar-toggler-icon {
    background-color: #fff;
  }
}

.pr-color {
  color: #2f5fef;
}

.section-landing {
  background: linear-gradient(transparent, transparent);
  background-size: cover;
}

.section-landing .row > div {
  margin-top: 80px;
}

.section-landing .row > div .section-landing-heading {
  font-size: 4rem;
  color: #fff;
}

@media screen and (max-width: 600px) {
  .section-landing .row > div .section-landing-heading {
    font-size: 16vw;
  }
}

.section-landing .row > div .section-landing-sub-heading {
  margin-top: 0;
  margin-bottom: 50px;
  font-size: 1.5rem;
  color: #fff;
  font-weight: Semibold;
}

@media screen and (max-width: 600px) {
  .section-landing .row > div .section-landing-sub-heading {
    font-size: 4vw;
  }
}

.content-home .btn {
  margin-top: 0;
}

.content-home .card {
  background-color: transparent;
  border: 0;
  box-shadow: none;
}

.content-home .card p {
  border: 0;
}

.content-home .card-header {
  display: none;
}

.content-home .list-group-item {
  padding: 20px 0;
  font-size: 20px;
  background-color: transparent;
  border: 0;
  border-top: 1px solid #ddd;
}

.content-home .list-group-item img {
  margin-right: 25px;
}

.content-home a.list-group-item,
.content-home .list-group-item a.title {
  color: #232222;
}

.content-home a.list-group-item:hover,
.content-home a.list-group-item:focus,
.content-home .list-group-item a.title:hover,
.content-home .list-group-item a.title:focus {
  color: #232222;
  text-decoration: underline;
  background-color: transparent;
}

.content-home .title,
.content-home .description {
  display: block;
}

.content-home .title {
  font-size: 24px;
  font-family: var(--primary-font);
}

.content-home .description {
  display: block;
  font-size: 14px;
}

.sidebar-home {
  background-color: #eeeeee;
  border-top: 7px solid #0b80d0;
  margin-top: 36px;
  position: relative;
}

.sidebar-home h3 {
  font-size: 18px;
}

.sidebar-home .card {
  background-color: transparent;
  border: 0;
  box-shadow: none;
}

.sidebar-home .card-header {
  padding-left: 0;
  background-color: transparent;
  border: 0;
}

.sidebar-home .card-title {
  font-size: 14px;
  color: #2f5fef;
  font-family: var(--primary-font);
}

.sidebar-home .list-group-item {
  padding-left: 0;
  font-size: 14px;
  background-color: transparent;
  border: 0;
}

.sidebar-home .list-group-item:hover,
.sidebar-home .list-group-item:focus {
  text-decoration: underline;
  background-color: transparent;
}

.sidebar-home .list-group-item .date {
  visibility: hidden;
}

.section-landing-search {
  min-height: 250px;
  background: url(homehero.jpg) no-repeat 0 25%;
  background-size: cover;
}

.page_section.section-landing .row {
  padding-bottom: 60px;
}

.page_section.section-landing .row > div {
  margin-top: 0px;
}

ul.tree,
ol.tree {
  color: #2f5fef;
}

.tree ul,
.tree ol,
.tree ul ul,
.tree ol ul,
.tree ol ol ul,
.tree ol ul ul,
.tree ul ol ul,
.tree ul ul ul {
  list-style-type: disc;
  color: #2f5fef;
}

/* Form styles updated for consistency */
/* ADX_FORMS consolidated with main typography */

.adx_forms_font_calibri,
.adx_forms_font_new_roman,
.adx_forms_font_helvetica {
  font-family: var(--primary-font) !important;
  font-size: var(--base-font-size) !important;
}

/* Below changes are done to support DefaultPortalTemplate in maker */
html {
  font-family: var(--primary-font);
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  height: 100%;
  margin: 0;
}

.crmEntityFormView,
.entitylist {
  background: #ffffff !important;
  border: 1px solid #fff !important;
  padding: 10px;
  border-radius: 10px;
}

.wrapper-body {
  background: #ffffff;
}

.footer .push {
  height: 43px;
}

.footer {
  margin-top: 0px;
}

.page-copy {
  margin-top: 0px;
  margin-bottom: 0px;
}

.navbar-brand {
  line-height: 37px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: unset;
}

body,
legend {
  color: #000000;
}

.nav-tabs > li > a:hover,
.nav-tabs > li > a:focus {
  background-color: #f2f2f2;
  color: #302ce1;
}

.btn-danger {
  color: #ffffff !important;
  text-decoration: none !important;
}

.btn-danger:hover {
  color: #ffffff !important;
}

.btn-default {
  color: #302ce1;
  background-color: white;
  border-color: #302ce1;
}

.btn-default:hover,
.btn-default:active,
.btn-default.active,
.btn-default:focus,
.btn-default.focus {
  font-family: var(--primary-font) !important;
  color: #302ce1;
  background-color: #f2f2f2;
  border-color: #302ce1;
}

.navbar-dark .navbar-toggler {
  border: 1px solid #302ce1;
}

.navbar-dark .navbar-toggler:hover {
  background-color: #4642e4;
}

.navbar-dark .navbar-toggler:focus {
  border: 1px solid black;
  background-color: #4642e4;
}

.navbar-dark .navbar-nav .show.dropdown-menu {
  background-color: #302ce1;
}

.navbar-dark .navbar-nav .show.dropdown-menu > li > a {
  color: #fff !important;
}

.navbar-dark .navbar-nav a.dropdown-toggle.show .navbar-dark .navbar-nav a.dropdown-toggle.show:hover,
.navbar-dark .navbar-nav a.dropdown-toggle.show:focus {
  background-color: #302ce1;
  color: #fff !important;
}

.navbar-dark .navbar-nav .show.dropdown-menu > li > a:hover,
.navbar-dark .navbar-nav .show.dropdown-menu > li > a:focus .navbar-dark .navbar-nav .show.dropdown-menu > .active > a,
.navbar-dark .navbar-nav .show.dropdown-menu > .active > a:hover,
.navbar-dark .navbar-nav .show.dropdown-menu > .active > a:focus {
  background-color: #ffffff;
  color: #302ce1;
}

.nav > li > a:hover,
.nav > li > a:focus {
  background-color: #f2f2f2;
}

.nav .show.dropdown-menu {
  background-color: #ffffff;
}

.nav .show.dropdown-menu > li > a {
  color: black;
}

.nav > .dropdown > a.show .nav > .dropdown > a.show:hover,
.nav > .dropdown > a.show:focus {
  background-color: #f2f2f2;
}

.nav .show.dropdown-menu > .active > a,
.nav .show.dropdown-menu > .active > a:hover,
.nav .show.dropdown-menu > .active > a:focus,
.nav .show.dropdown-menu > li > a:hover,
.nav .show.dropdown-menu > li > a:focus {
  background-color: #f2f2f2;
  color: black;
}

#filterDropdownId > .dropdown-menu > li > a:focus {
  border: 1px solid;
}

#filterDropdownId > a:focus {
  border: 1px solid;
}

.crmEntityFormView,
.entitylist {
  background-color: #ffffff;
  color: #000000;
  border: 1px solid #f2f2f2;
}

.sectionPrimaryColor {
  background-color: #e6c100 !important;
  color: #ffffff;
}

.sectionPrimaryColor h1,
.sectionPrimaryColor h2,
.sectionPrimaryColor h3,
.sectionPrimaryColor h4,
.sectionPrimaryColor h5,
.sectionPrimaryColor h6 {
  color: #ffffff;
}

.sectionPrimaryColor .crmEntityFormView h1,
.sectionPrimaryColor .crmEntityFormView h2,
.sectionPrimaryColor .crmEntityFormView h3,
.sectionPrimaryColor .crmEntityFormView h4,
.sectionPrimaryColor .crmEntityFormView h5,
.sectionPrimaryColor .crmEntityFormView h6 {
  color: #000000;
}

.sectionPrimaryColor .entitylist h1,
.sectionPrimaryColor .entitylist h2,
.sectionPrimaryColor .entitylist h3,
.sectionPrimaryColor .entitylist h4,
.sectionPrimaryColor .entitylist h5,
.sectionPrimaryColor .entitylist h6 {
  color: #000000;
}

.sectionFixedStyle {
  color: #000000;
}

/* LINK AND INTERACTION ACCESSIBILITY */

/* Links with proper contrast and indication */
a {
  color: var(--dark-gray) !important;
  font-family: var(--primary-font) !important;
  font-size: inherit !important;
  text-decoration: underline !important;
  line-height: inherit !important;
}

a:not(.btn) {
  text-decoration: underline !important;
}

/* Navigation and utility links */
[role="navigation"] a,
[role="contentinfo"] a,
.toolbar a,
a.list-group-item {
  text-decoration: none !important;
}

a:hover,
a:focus {
  color: var(--primary-color) !important;
  text-decoration: underline !important;
}

.breadcrumb > .active {
  color: #000000;
  font-weight: bold;
}

p {
  font-family: var(--primary-font) !important;
  font-size: var(--base-font-size) !important;
  line-height: 1.5 !important;
  margin-top: 0.75rem !important;
  margin-bottom: 0.75rem !important;
}

h1 {
  font-family: var(--primary-font) !important;
  font-size: 2.25rem !important; /* 45px - accessible scaling from 20px base */
  font-weight: 700 !important;
  line-height: 1.2 !important;
  margin-top: 0 !important;
  margin-bottom: 1rem !important;
  color: var(--text-color) !important;
}

h2 {
  font-family: var(--primary-font) !important;
  font-size: 2rem !important; /* 40px */
  font-weight: 600 !important;
  line-height: 1.3 !important;
  margin-top: 1.5rem !important;
  margin-bottom: 0.75rem !important;
  color: var(--text-color) !important;
}

h3 {
  font-family: var(--primary-font) !important;
  font-size: 1.75rem !important; /* 35px */
  font-weight: 600 !important;
  line-height: 1.3 !important;
  margin-top: 1.25rem !important;
  margin-bottom: 0.75rem !important;
  color: var(--text-color) !important;
}

h4 {
  font-family: var(--primary-font) !important;
  font-size: 1.5rem !important; /* 30px */
  font-weight: 600 !important;
  line-height: 1.4 !important;
  margin-top: 1rem !important;
  margin-bottom: 0.5rem !important;
  color: var(--text-color) !important;
}

h5 {
  font-family: var(--primary-font) !important;
  font-size: 1.25rem !important; /* 25px */
  font-weight: 600 !important;
  line-height: 1.4 !important;
  margin-top: 1rem !important;
  margin-bottom: 0.5rem !important;
  color: var(--text-color) !important;
}

h6 {
  font-family: var(--primary-font) !important;
  font-size: 1.1rem !important; /* 22px */
  font-weight: 600 !important;
  line-height: 1.4 !important;
  margin-top: 0.75rem !important;
  margin-bottom: 0.5rem !important;
  color: var(--text-color) !important;
}

.page-header {
  display: block !important;
  width: 100% !important;
  /* Optional: To ensure it takes the full width */
  margin: 0 !important;
  /* Optional: To reset any default margins */
  float: none !important;
  /* Optional: To ensure no floats are applied */
  border-bottom: 0 !important;
  padding-bottom: 15px !important;
}

.navbar-brand {
  padding: 0 !important;
}

.static-top.navbar-dark .navbar-brand {
  font-size: 24px;
  font-weight: bold;
  font-family: unset;
}

.static-top.navbar-dark .navbar-brand a {
  color: black;
  text-decoration: none;
}

.help-block {
  color: black;
}

/* NAVIGATION ACCESSIBILITY STYLES */

/* Skip to content link - Section 508 requirement */
.skip-to-content a {
  padding: 1rem 1.5rem !important;
  position: absolute !important;
  top: -100px !important;
  left: 0px !important;
  color: #ffffff !important;
  background: #742774 !important;
  font-family: var(--primary-font) !important;
  font-size: var(--base-font-size) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border-radius: 0 0 4px 0 !important;
  z-index: 9999 !important;
  transition: top 0.3s ease !important;
}

.skip-to-content a:focus {
  position: absolute !important;
  left: 0px !important;
  top: 0px !important;
  outline: 3px solid #ffffff !important;
  outline-offset: 2px !important;
  color: #ffffff !important;
  transition: top 0.1s ease-in !important;
}

/* Navigation links */
.navbar-nav > li > a {
  font-family: var(--primary-font) !important;
  font-size: var(--base-font-size) !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  min-height: 44px !important; /* Touch target minimum */
  display: flex !important;
  align-items: center !important;
}

/* Breadcrumb accessibility */
.breadcrumb {
  padding: 0.75rem 0 !important;
  margin-bottom: 0 !important;
  list-style: none !important;
  border-radius: 0 !important;
  font-size: var(--base-font-size) !important;
  line-height: 1.5 !important;
}

.breadcrumb > li a {
  color: var(--primary-color) !important;
  padding: 0.25rem 0.5rem !important;
  text-decoration: underline !important;
  font-family: var(--primary-font) !important;
}

.breadcrumb > li a:hover,
.breadcrumb > li a:focus {
  color: var(--primary-color) !important;
  text-decoration: underline !important;
}

.breadcrumb > li a:visited {
  color: var(--primary-color) !important;
}

.breadcrumb > .active {
  color: var(--text-color) !important;
  font-weight: 600 !important;
}

@media screen and (-ms-high-contrast: active) {
  .nav-tabs > li.active > a,
  .nav-tabs > li.active > a:hover,
  .nav-tabs > li.active > a:focus {
    border-bottom: 0px;
  }

  .nav-tabs > li > a {
    border: 0px;
  }

  .navbar-dark .navbar-nav .show.dropdown-menu > li > a:hover,
  .navbar-dark .navbar-nav .show.dropdown-menu > li > a:focus .navbar-dark .navbar-nav .show.dropdown-menu > .active > a,
  .navbar-dark .navbar-nav .show.dropdown-menu > .active > a:hover,
  .navbar-dark .navbar-nav .show.dropdown-menu > .active > a:focus {
    border: 1px solid;
  }

  .facet-list-group-item {
    margin: 1px;
    border: 0px;
  }
}

.frenchAccessibilityLink {
  float: right;
  width: 297px;
  height: 24px;
  font-family: var(--primary-font);
  font-size: 18px;
  line-height: 21px;
  text-decoration-line: underline;
  color: #2c33d8;
}

/* Power Virtual Agent styles */
.pva-floating-style {
  position: fixed;
  bottom: 0px;
  right: 0px;
  margin-right: 16px;
  margin-bottom: 18px;
  z-index: 9999;
}

/* Power Virtual Agent styles ends */

.visible-lg-block {
  display: flex !important;
  align-items: center;
}

/* ACCESSIBILITY AND FOCUS STYLES */
/* Section 508 compliant focus indicators */

*:focus {
  outline: 3px solid #005fcc !important;
  outline-offset: 2px !important;
}

/* Ensure focus is visible on dark backgrounds */
.navbar-dark a:focus,
.btn-primary:focus,
.btn-info:focus,
footer a:focus {
  outline: 3px solid #ffffff !important;
  outline-offset: 2px !important;
}

/* Form control focus highlight */
.form-control:focus {
  border-color: #005fcc !important;
  outline: 1px solid #005fcc !important;
  outline-offset: 1px !important;
  box-shadow: 0 0 0 1px #ffffff, 0 0 8px rgba(0, 95, 204, 0.3) !important;
}

.navbar-nav > li > a {
  padding: 14px;
}

.navbar-dark .navbar-nav .show.dropdown-menu > li > a {
  display: block;
}

#navbar .dropdown-search.dropdown-menu {
  margin-top: 18px;
}

#navbar .dropdown-menu {
  margin-top: 12.5px;
}

.nav > li > a:hover,
.nav > li > a:focus {
  text-decoration: none;
}

.list-group > .change-login-disabled-li {
  background-color: #eee;
  color: #666;
}

li.dropdown-submenu.dropdown {
  list-style: none;
}

.pagination {
  padding-left: 0;
  margin: 21px 0;
  border-radius: 0;
}

.pagination > .active > a,
.pagination > .active > a:hover,
.pagination > .active > a:focus,
.pagination > .active > span,
.pagination > .active > span:hover,
.pagination > .active > span:focus {
  color: #fff;
  background-color: #232222;
  cursor: default;
}

.pagination > li > a,
.pagination > li > span {
  border: 0px;
  width: 40px;
  height: 40px;
  text-align: center;
  position: relative;
  float: left;
  padding: 6px 12px;
  line-height: 1.42857;
  color: #666;
}

.pagination > li > a:focus {
  box-shadow: none;
  outline: 5px auto -webkit-focus-ring-color;
}

.pagination > .disabled > span,
.pagination > .disabled > span:hover,
.pagination > .disabled > span:focus,
.pagination > .disabled > a,
.pagination > .disabled > a:hover,
.pagination > .disabled > a:focus {
  color: #777;
  background-color: #fff;
  border-color: #ddd;
  cursor: not-allowed;
}

.pagination > li:first-child > a,
.pagination > li:first-child > span {
  margin-left: 0;
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
}

.search-pagination.text-center .pagination {
  justify-content: center !important;
}

.pagination > .disabled {
  border: none;
  padding: initial;
}

h1,
.h1,
h2,
.h2,
h3,
.h3 {
  margin-top: 21px;
  margin-bottom: 10.5px;
}

h4,
.h4,
h5,
.h5,
h6,
.h6 {
  margin-top: 10.5px;
  margin-bottom: 10.5px;
}

.nav-item .dropdown-toggle::after {
  border-top: 0.2em solid;
  border-right: 0.2em solid transparent;
  border-bottom: 0;
  border-left: 0.2em solid transparent;
}

.field-label {
  max-width: 90% !important;
}

.field-label.required {
  max-width: 90% !important;
}

label {
  font-family: var(--primary-font) !important;
  font-weight: 400 !important;
  font-size: var(--base-font-size) !important;
  margin-bottom: 0.5rem !important;
  line-height: 1.4 !important;
}

/* Text and link styles */
p.smallText,
a,
.a {
  font-family: var(--primary-font) !important;
  font-size: var(--base-font-size) !important;
  line-height: 1.5 !important;
}

/* Small text sizing */
.small,
small {
  font-family: var(--primary-font) !important;
  font-size: 0.9rem !important; /* 18px */
  line-height: 1.4 !important;
}

/* Card text */
.card-text {
  font-family: var(--primary-font) !important;
  font-size: var(--base-font-size) !important;
  line-height: 1.5 !important;
}

.custom-container {
  flex-wrap: wrap !important;
}

.custom-sitetitle {
  text-wrap: wrap;
}

.custom-navbar-toggler {
  margin-left: auto;
}

a:not(.btn):hover {
  text-decoration: underline !important;
}

/*****************************************************************/
/* Override */
/*****************************************************************/

/* General Styles */
.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
  --bs-gutter-x: 0 !important;
}

/* BUTTON STYLES - Section 508 Compliant */
.button1,
.btn-info,
.btn-primary {
  font-family: var(--primary-font) !important;
  font-size: var(--base-font-size) !important;
  font-weight: 600 !important;
  border-radius: 4px !important;
  width: fit-content !important;
  border-style: solid !important;
  border-width: 2px !important;
  color: #ffffff !important;
  background-color: #1c6da6 !important;
  border-color: #1c6da6 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  text-align: center !important;
  min-height: 44px !important; /* Touch target minimum */
  min-width: 44px !important;
}

/* Hover state */
.button1:hover,
.btn-info:hover,
.btn-primary:hover {
  background-color: var(--dark-blue) !important;
  border-color: var(--primary-color) !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

/* Secondary button styles */
.button2,
.btn-secondary,
.btn-default,
.previous-btn {
  font-family: var(--primary-font) !important;
  font-size: var(--base-font-size) !important;
  font-weight: 600 !important;
  border-radius: 4px !important;
  color: #1c6da6 !important;
  border-color: #1c6da6 !important;
  border-width: 2px !important;
  width: fit-content !important;
  border-style: solid !important;
  background-color: transparent !important;
  cursor: pointer !important;
  text-decoration: none !important;
  display: inline-block !important;
  text-align: center !important;
  min-height: 44px !important;
  min-width: 44px !important;
}

.button2:hover,
.btn-secondary:hover,
.btn-default:hover,
.previous-btn:hover {
  color: #ffffff !important;
  border-color: #1c6da6 !important;
  background-color: #1c6da6 !important;
  text-decoration: none !important;
}

/* Active and focus states */
.button1:active,
.button1.active,
.button1:focus,
.button1.focus,
.btn-info:active,
.btn-info.active,
.btn-info:focus,
.btn-info.focus,
.btn-primary:active,
.btn-primary.active,
.btn-primary:focus,
.btn-primary.focus {
  background-color: #1c6da6 !important;
  color: #ffffff !important;
  border-color: #1c6da6 !important;
  outline: 3px solid #ffffff !important;
  outline-offset: 2px !important;
}

/* Remove duplicate and redundant font declarations */
/* The following lines have been cleaned up and consolidated above */

.banner-container {
  background: #15386b !important;
  width: 100% !important;
}

.col-lg-12,
.col-lg-8,
.col-lg-4 {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.footer-bottom {
  background-color: #15386b !important;
}

.footer-bottom img.footer-logo {
  max-width: 300px !important;
  width: auto !important;
  height: auto !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  object-fit: contain !important;
  aspect-ratio: auto !important;
}

/* Fallback for other footer images that aren't the logo */
.footer-bottom img:not(.footer-logo) {
  height: 95px !important;
  width: auto !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

/* INPUT AND FORM ACCESSIBILITY */

/* Ensure form inputs meet accessibility requirements */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="url"],
input[type="number"],
textarea,
select {
  font-family: var(--primary-font) !important;
  font-size: var(--base-font-size) !important;
  line-height: 1.5 !important;
  min-height: 44px !important; /* Touch target minimum */
}

/* Search input styling */
input.query.form-control {
  font-family: var(--primary-font) !important;
  font-size: var(--base-font-size) !important;
  height: auto !important;
  min-height: 44px !important;
  border-color: var(--accent-color) !important;
  border-width: 2px !important;
}

/* Navigation Styles */
.nav {
  --bs-nav-link-color: #000000 !important;
}

ul.nav.navbar-nav.weblinks {
  margin-top: 0 !important;
}

.static-top.navbar .menu-bar > .navbar-nav > .divider-vertical {
  height: 21px !important;
  border-right: 1px solid #fff !important;
  border-left: 1px solid #666 !important;
}

#navbar {
  width: min-content !important;
}

/* Banner Styles */
.usa-banner {
  color: #fff !important;
  width: 100% !important;
}

.usa-banner__button[aria-expanded="true"]::before {
  bottom: 0 !important;
  top: 0 !important;
  position: absolute !important;
  right: 0 !important;
  background-color: transparent !important;
  content: "" !important;
  display: block !important;
  height: 3rem !important;
  width: 3rem !important;
}

.usa-banner__content {
  background: transparent !important;
}

.usa-banner__guidance p {
  font-size: 16px !important;
}

.usa-banner__header {
  background: #15386b !important;
}

.usa-banner__header--expanded .usa-banner__inner {
  margin: 0 !important;
}

.usa-banner__header-flag {
  margin-right: 0.5rem !important;
  padding-top: 0 !important;
  width: 15px !important;
  height: auto !important;
}

.usa-banner__header-text,
.usa-banner__header-action,
.usa-banner__button-text {
  color: #ffffff !important;
  font-size: 16px !important;
}

.usa-banner__inner {
  padding: 0 !important;
  width: 100% !important;
  margin: 0 !important;
}

@media (min-width: 40em) {
  .usa-banner__header--expanded .usa-banner__inner {
    margin: 0 !important;
  }
}

/* Section Styles */
.section-landing-forums,
.section-landing-search {
  display: flex !important;
  flex-wrap: wrap !important;
  text-align: center !important;
}

/* Social Frame Styles */
.socialframe td {
  padding: 8px !important;
}

.socialframe td:first-child {
  color: #ffffff !important;
  font-weight: bold !important;
}

.socialframe img {
  max-width: 100% !important;
  width: 100% !important;
  height: auto !important;
}

/* Entity Styles */
/* Entity and form font styling */
.entity-grid.entitylist * {
  font-size: var(--base-font-size) !important;
  line-height: 1.5 !important;
}

/* Table font styling */
.table-striped > tbody > tr:nth-of-type(odd) > * {
  --bs-table-accent-bg: var(--bs-table-striped-bg);
  color: var(--bs-table-striped-color);
  font-weight: 500;
  font-family: var(--primary-font) !important;
  font-size: var(--base-font-size) !important;
}

/* Tabulator table styling */
.tabulator-cell {
  font-family: var(--primary-font) !important;
  font-size: var(--base-font-size) !important;
  line-height: 1.4 !important;
}

.tabulator-col {
  font-family: var(--primary-font) !important;
  font-size: var(--base-font-size) !important;
  line-height: 1.4 !important;
}

/* Media Queries */
@media screen and (max-width: 1200px) {
  ul.nav.navbar-nav.weblinks {
    margin-top: 50px !important;
  }
}

/* Additional Styles */
.actions {
  padding-bottom: 50px !important;
}

/* Typography consolidation - remove duplicate h1, h2, h3 definitions */
/* Previous definitions have been consolidated above */

.col-lg-12,
.col-lg-8,
.col-lg-4 {
  display: flex !important;
  flex-direction: column !important;
  justify-content: start !important;
}

p {
  margin-top: 10px !important;
}

.card-text {
  font-size: 18px !important;
}

.mb-3 {
  margin-bottom: 0 !important;
}

h4,
.h4,
h5,
.h5,
h6,
.h6 {
  margin-top: 0 !important;
}

fieldset {
  padding: 0 !important;
}

.entity-grid .view-grid {
  overflow-x: visible;
  position: relative;
  margin-top: 50px !important;
}

.alert {
  border-radius: 8px 8px 8px 8px !important;
  max-width: 1320px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

h3 {
  padding-left: 2px !important;
}

.crmEntityFormView .actions {
  border: none !important;
  margin: 20px 0 !important;
  padding: 19px 0 !important;
}

h3,
.h3,
.page_section h3,
.color-inverse h3,
.sidebar-home h3 {
  font-family: var(--primary-font) !important;
  font-weight: 600 !important;
  font-size: 24px !important;
  color: #2a2c2e !important;
}

div.table-info,
h3.table-info {
  display: flex;
  align-items: center;
  gap: 0.5rem !important;
}

h3.table-info.form-subgrid-heading {
  position: absolute !important;
  max-width: 650px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.modal h1 {
  font-family: var(--primary-font) !important;
  font-weight: 600 !important;
  font-size: 25px !important;
  color: #2a2c2e !important;
}

.modal-dialog {
  min-width: 800px !important;
}

a:not(.btn) {
  text-decoration: none !important;
}

.entity-grid .message {
  background: #fff3cd !important;
  padding: 10px !important;
}

.modal-title {
  margin-bottom: 0 !important;
  margin-top: 0 !important;
}

.card-header h2 {
  font-family: var(--primary-font) !important;
  font-weight: 600 !important;
  font-size: 18px !important;
  color: #2a2c2e !important;
}

#ValidationSummaryEntityFormView {
  width: 97% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

#ValidationSummaryEntityFormView h2 {
  font-family: var(--primary-font) !important;
  font-weight: 600 !important;
  font-size: 18px !important;
  color: #2a2c2e !important;
}

#ValidationSummaryEntityFormControl_EntityFormView h2 {
  font-family: var(--primary-font) !important;
  font-weight: 600 !important;
  font-size: 18px !important;
  color: #2a2c2e !important;
}

p,
.p,
.page_section p,
.section-diagonal-left p,
.section-diagonal-right p {
  font-family: var(--primary-font) !important;
}

.alert.alert-block.alert-danger.error.clearfix p {
  font-family: var(--primary-font) !important;
  font-size: 18px !important;
}

.small,
small {
  font-size: 16px !important;
}

.breadcrumb {
  padding: 10px 0 !important;
  margin-bottom: 0 !important;
  list-style: none;
  border-radius: 0 !important;
}

#pdfModal,
#pdfModalStyle {
  width: 100% !important;
  --bs-modal-width: 100% !important;
}
/* TABULATOR TABLES  */
.tabulator {
  background-color: #fff !important;
  border: 1px solid #e8e8e8 !important;
  font-size: 14px !important;
  overflow: hidden !important;
  height: 135px !important; /* Set a fixed height for the table */
  position: relative !important;
  text-align: left !important;
  -webkit-transform: translateZ(0) !important;
  -moz-transform: translateZ(0) !important;
  -ms-transform: translateZ(0) !important;
  -o-transform: translateZ(0) !important;
  transform: translateZ(0) !important;
  margin: 15px;
}
.tabulator .tabulator-tableholder {
  -webkit-overflow-scrolling: touch;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  position: relative;
  white-space: nowrap;
  width: 100%;
}
.tabulator-row .tabulator-cell {
  border: 1px solid #e8e8e8 !important;
  box-sizing: border-box !important;
  display: inline-block !important;
  outline: none !important;
  overflow: hidden !important;
  padding: 4px !important;
  position: relative !important;
  text-overflow: ellipsis !important;
  vertical-align: middle !important;
  white-space: nowrap !important;
}
.tabulator .tabulator-header {
  background-color: #ffffff !important;
  border-bottom: 1px solid #e8e8e8 !important;
  box-sizing: border-box !important;
  color: #555 !important;
  font-weight: 700 !important;
  outline: none !important;
  overflow: hidden !important;
  position: relative !important;
  white-space: nowrap !important;
  width: 100% !important;
}
.tabulator .tabulator-header .tabulator-col {
  background: #ffffff !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  overflow: hidden !important;
  position: relative !important;
  text-align: left !important;
  vertical-align: bottom !important;
  padding-left: 5px !important;
}

@media (hover: hover) and (pointer: fine) {
  .tabulator-row.tabulator-selectable:hover {
    background-color: #f2f2f2 !important;
    cursor: pointer !important;
  }
}
.tabulator-row.tabulator-row-even {
  background: none !important;
}
.tabulator-row.tabulator-selected {
  background-color: #f2f2f2 !important;
}
.search-container {
  display: flex !important;
  justify-content: flex-end !important;
  margin-bottom: 10px !important;
}
#searchInput {
  font-size: 14px !important;
  border: 1px solid #ccc !important;
  border-radius: 4px !important;
}
fieldset[aria-label="Active Applications from Your Organization"] {
  display: none;
}
.popover {
  --bs-popover-zindex: 100 !important;
}

.grid-actions {
  border: none !important;
  margin-bottom: 25px !important;
  padding-bottom: 10px !important;
}

/* Ensure footer content fills container width properly */
footer .footer-bottom .row {
  margin-left: -15px;
  margin-right: -15px;
  width: auto;
}

footer .footer-bottom .col-lg-4 {
  padding-left: 15px;
  padding-right: 15px;
}

footer .footer-top {
  width: 100%;
  min-height: 130px;
  background-color: #15396c;
  display: flex;
  align-items: center;
  margin: 0;
  box-sizing: border-box;
}

/* Ensure footer container uses standard Bootstrap behavior */
footer .container {
  display: block !important;
  flex-wrap: unset !important;
}

/* Enhanced Responsive Design Improvements */

/* Search Component Responsive Styles */
.search-input-responsive {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.search-filter-wrapper {
  flex: 0 0 auto;
  text-align: right;
}

.search-input-field {
  flex: 1 1 auto;
  width: 100%;
  font-size: 14px;
  min-width: 0;
}

.search-button-wrapper {
  flex: 0 0 auto;
  text-align: left;
}

/* Mobile-first responsive search */
@media (max-width: 575px) {
  .search-input-responsive {
    flex-direction: column;
  }

  .search-filter-wrapper,
  .search-button-wrapper {
    text-align: center;
    margin: 0.25rem 0;
  }

  .search-input-field {
    margin: 0.25rem 0;
    font-size: 16px; /* Prevents zoom on iOS */
  }
}

/* Header Section Responsive Styles */
.page-section-header {
  display: flex;
  flex-wrap: wrap;
  text-align: center;
}

.section-container-responsive {
  display: flex;
  flex-wrap: wrap;
}

.section-column-responsive {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 767px) {
  .section-column-responsive {
    text-align: center;
    padding: 1rem;
  }
}

/* Enhanced Layout Responsive Behavior */
@media (max-width: 767px) {
  .start-column,
  .middle-column,
  .end-column {
    margin-bottom: 2rem;
  }

  .end-column:last-child {
    margin-bottom: 0;
  }
}

/* Table Responsiveness */
.table-responsive-stack {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 575px) {
  .table-responsive-stack table,
  .table-responsive-stack thead,
  .table-responsive-stack tbody,
  .table-responsive-stack th,
  .table-responsive-stack td,
  .table-responsive-stack tr {
    display: block;
  }

  .table-responsive-stack thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  .table-responsive-stack tr {
    border: 1px solid #ccc;
    margin-bottom: 10px;
  }

  .table-responsive-stack td {
    border: none;
    position: relative;
    padding-left: 50% !important;
  }

  .table-responsive-stack td:before {
    content: attr(data-label) ": ";
    position: absolute;
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    font-weight: bold;
  }
}

/* Enhanced Card Responsiveness */
.card {
  margin-bottom: 1.5rem;
}

@media (max-width: 575px) {
  .card {
    margin-left: -15px;
    margin-right: -15px;
    border-radius: 0;
  }

  .card-body {
    padding: 1rem;
  }
}

/* Navigation Improvements */
@media (max-width: 991px) {
  .navbar-nav {
    text-align: center;
  }

  .navbar-nav .nav-item {
    margin: 0.25rem 0;
  }
}

/* Form Responsiveness */
@media (max-width: 575px) {
  .form-group {
    margin-bottom: 1.5rem;
  }

  .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .btn-group {
    width: 100%;
  }

  .btn-group .btn {
    width: auto;
    flex: 1;
  }
}

/* RESPONSIVE TYPOGRAPHY - Section 508 Compliant Scaling */
@media (max-width: 575px) {
  html,
  body {
    font-size: 18px !important; /* Slightly smaller on very small screens but still readable */
  }

  h1 {
    font-size: 2rem !important; /* 36px equivalent */
  }

  h2 {
    font-size: 1.75rem !important; /* 31.5px equivalent */
  }

  h3 {
    font-size: 1.5rem !important; /* 27px equivalent */
  }

  h4 {
    font-size: 1.25rem !important; /* 22.5px equivalent */
  }

  h5 {
    font-size: 1.1rem !important; /* 19.8px equivalent */
  }

  h6 {
    font-size: 1rem !important; /* 18px equivalent */
  }
}

/* Container Improvements */
@media (max-width: 575px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* Pagination Responsive */
@media (max-width: 575px) {
  .pagination {
    justify-content: center;
    flex-wrap: wrap;
  }

  .pagination .page-item {
    margin: 0.125rem;
  }

  .pagination .page-link {
    padding: 0.375rem 0.5rem;
    font-size: 0.875rem;
  }
}

/* Breadcrumb Responsive */
@media (max-width: 575px) {
  .breadcrumb {
    flex-wrap: wrap;
    padding: 0.5rem 0;
  }

  .breadcrumb-item {
    font-size: 0.875rem;
  }
}

/* Enhanced Map Responsiveness */
@media (max-width: 767px) {
  #calciteShell {
    height: 400px;
  }

  #viewDiv {
    min-height: 300px;
  }
}

@media (max-width: 575px) {
  #calciteShell {
    height: 350px;
  }
}

/* Modal Improvements */
@media (max-width: 575px) {
  .modal-dialog {
    margin: 0.5rem;
    max-width: calc(100% - 1rem);
  }

  .modal-header,
  .modal-body,
  .modal-footer {
    padding: 1rem;
  }
}

/* Utility Classes for Responsive Control */
.text-center-mobile {
  text-align: left;
}

@media (max-width: 767px) {
  .text-center-mobile {
    text-align: center;
  }

  .hide-mobile {
    display: none !important;
  }

  .show-mobile {
    display: block !important;
  }
}

.hide-desktop {
  display: none !important;
}

@media (max-width: 767px) {
  .hide-desktop {
    display: none !important;
  }

  .show-desktop {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .hide-desktop {
    display: none !important;
  }

  .show-desktop {
    display: block !important;
  }
}

/* Focus and Accessibility Improvements */
@media (max-width: 575px) {
  .btn:focus,
  .form-control:focus,
  .form-select:focus {
    box-shadow: 0 0 0 0.2rem rgba(44, 109, 166, 0.25);
  }
}

/* Print Styles */
@media print {
  .no-print {
    display: none !important;
  }

  .navbar,
  .breadcrumb,
  .pagination,
  .btn {
    display: none !important;
  }

  .container {
    width: auto !important;
    max-width: none !important;
  }
}

/* Enhanced Button Responsiveness */
@media (max-width: 575px) {
  .btn-toolbar {
    flex-direction: column;
  }

  .btn-toolbar .btn-group {
    width: 100%;
    margin-bottom: 0.5rem;
  }
}

/* Grid Enhancements */
@media (max-width: 575px) {
  .row {
    margin-left: -10px;
    margin-right: -10px;
  }

  .col,
  [class*="col-"] {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* Enhanced Breadcrumb Responsive Styles */
.responsive-breadcrumb {
  display: flex;
  padding: 0px 15px;
  flex-wrap: wrap;
}

.breadcrumb-item-responsive {
  display: flex;
  align-items: center;
}

.breadcrumb-text-item {
  display: inline-block;
  margin: 0px;
}

.breadcrumb-link {
  color: inherit;
  text-decoration: none;
}

.breadcrumb-icon {
  margin-right: 4px;
}

@media (max-width: 576px) {
  .responsive-breadcrumb {
    padding: 0px 10px;
    font-size: 0.875rem;
  }

  .breadcrumb-item-responsive {
    margin: 0.125rem 0;
  }

  .breadcrumb-icon {
    margin-right: 2px;
  }
}

@media (max-width: 480px) {
  .responsive-breadcrumb .breadcrumb-item:not(:first-child):not(:last-child) {
    display: none;
  }

  .responsive-breadcrumb .breadcrumb-item:nth-last-child(2)::after {
    content: " ... ";
    color: #6c757d;
  }
}

/* Enhanced Footer Responsive Styles */

/* Footer Layout Structure - Match sectionBlockLayout behavior */
.footer-bottom {
  width: 100%;
  padding: 0 !important;
}

.footer-bottom .row.sectionBlockLayout {
  padding: 12px 8px;
  background-color: #15396c;
  display: flex;
  flex-wrap: wrap;
}

.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
}

.footer-content-row {
  align-items: flex-start;
}

/* Logo Section */
.footer-logo {
  max-width: 300px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  aspect-ratio: auto;
}

/* Contact Section */
.footer-contact-content,
.footer-social-content {
  text-align: left;
}

.footer-heading {
  margin-bottom: 15px;
  font-size: 1rem;
  font-weight: 600;
}

.footer-contact-text {
  line-height: 1.6;
  margin-bottom: 0;
}

/* Social Links */
.footer-social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
  align-items: center;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.footer-social-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
  text-decoration: none;
}

.footer-social-icon {
  font-size: 1.5rem;
  color: #ffffff;
}

/* Desktop Styles (Large screens) */
@media (min-width: 992px) {
  .footer-logo-section {
    text-align: center;
  }

  .footer-contact-section,
  .footer-social-section {
    text-align: center;
  }

  .footer-contact-content,
  .footer-social-content {
    margin: 0 auto;
  }

  .footer-logo {
    margin: 0;
    padding: 0;
  }
}

/* Tablet Styles (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .footer-content-row {
    justify-content: space-between;
  }

  .footer-logo-section {
    text-align: center;
    margin-bottom: 20px;
  }

  .footer-contact-section,
  .footer-social-section {
    text-align: left;
  }

  .footer-logo {
    max-width: 300px;
    width: auto;
    height: auto;
    object-fit: contain;
  }
}

/* Mobile Styles (767px and below) */
@media (max-width: 767px) {
  .footer-content-row {
    flex-direction: column;
  }

  .footer-logo-section,
  .footer-contact-section,
  .footer-social-section {
    width: 100%;
    text-align: left;
    padding-top: 15px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .footer-social-section {
    border-bottom: none;
  }

  .footer-logo {
    max-width: 300px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin-bottom: 10px;
  }

  .footer-heading {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .footer-contact-text {
    font-size: 0.9rem;
  }

  .footer-social-links {
    gap: 10px;
    margin-top: 10px;
  }

  .footer-social-link {
    width: 40px;
    height: 40px;
  }

  .footer-social-icon {
    font-size: 1.25rem;
  }
}

/* Extra Small Mobile (480px and below) */
@media (max-width: 480px) {
  .footer-logo-section,
  .footer-contact-section,
  .footer-social-section {
    padding: 10px 0;
  }

  .footer-logo {
    max-width: 300px;
    width: auto;
    height: auto;
    object-fit: contain;
  }

  .footer-heading {
    font-size: 0.95rem;
  }

  .footer-contact-text {
    font-size: 0.85rem;
  }

  .footer-social-links {
    flex-wrap: wrap;
    gap: 8px;
  }

  .footer-social-link {
    width: 36px;
    height: 36px;
  }

  .footer-social-icon {
    font-size: 1.1rem;
  }
}

/* Improve footer container behavior */
footer .container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
}

/* Override any existing footer bottom styles for better mobile behavior */
footer .footer-bottom {
  padding: 20px 0 !important;
  min-height: auto;
}

@media (max-width: 767px) {
  footer .footer-bottom {
    padding: 15px 0 !important;
  }
}

/* Accessibility improvements */
.footer-social-link:focus {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .footer-social-link {
    transition: none;
  }
}

td.lookup > div:first-of-type {
  display: inline !important;
}

td.picklist-cell > div:first-of-type {
  display: inline !important;
}
