.post-item .post-item-description,
p {
  line-height: 20px;
  color: #565656 !important;
  font-size: 15px;
}
#footer .widget a,
p,
ul li {
  font-size: 15px;
}
li,
p {
  font-family: gotham_htfbook;
}
.scroll-down,
.scroll-down2 {
  position: absolute;
  color: #fff;
}
p {
  text-align: justify;
}
.team-members .team-member {
  text-align: left;
  border-radius: 0;
}
.team-desc > h2,
.team-desc > h2 > a {
  font-size: 18px;
  letter-spacing: -0.1px;
  line-height: 23px;
  margin-bottom: 16px;
  color: #444;
  text-align: left;
  font-weight: 600;
}
.team-desc > h2 {
  min-height: 52px;
  padding-bottom: 0 !important;
  margin-bottom: -8px;
}
.team-desc {
  padding-top: 0 !important;
}
.team-members .team-member .team-desc > p {
  margin-top: 10px;
  font-size: 13px !important;
  margin-bottom: 16px;
}
.minHeightContactBx {
  min-height: 320px !important;
}
.minHeightContactBx p {
  text-align: left !important;
}
.hideThis {
  display: none;
}
.heading > h1,
.heading > h2 {
  font-size: 34px;
}
#footer p {
  color: #ccc !important;
}
.projBxList .table1 td,
.searchList li:first-child,
tr {
  border: none;
}
.prjInfoDes {
  font-size: 13px;
}
.bannerText {
  margin-top: 100px;
}
.loader {
  z-index: 100;
  padding-left: 17px;
}
.bannerTitle {
  font-size: 40px !important;
}
.prjTxt {
  color: #fff !important;
}
.moreBtnBanner {
  color: #C0C0C0;
  text-transform: none !important;
  font-weight: 400;
}
.scroll-down2 {
  height: 40px;
  line-height: 38px;
  border: 1px solid #fff;
  padding: 0 18px;
  display: inline-block;
  font-size: 16px;
  background: rgba(0, 0, 0, 0.6);
  margin-left: -100px;
  right: -300%;
  bottom: 15px;
  opacity: 0;
  /* visibility: hidden; */
}
.scroll-down {
  bottom: -38px;
  left: 50%;
  width: 35px;
  height: 28px;
  line-height: 21px;
  font-size: 33px;
  font-weight: 800 !important;
  z-index: 10;
  cursor: pointer;
  text-align: center;
  transition: 0.2s 0;
  background: 0 0 !important;
  margin-left: -16.5px;
}
.scroll-down a {
  color: #fff;
  padding-top: 3px !important;
}
.scroll-down .fa {
  margin-top: -4px !important;
}
.scroll-to .fa {
  font-size: 32px;
}
.scroll-down:hover i {
  color: #1F5AA9;
  text-shadow: 2px 2px 0 #000;
}
.owl-nav i:hover {
  color: #1F5AA9 !important;
  text-shadow: 2px 2px 0 #000;
}
.owl-carousel .owl-nav .owl-next {
  right: 50%;
  margin-right: -60px;
  opacity: 1;
  border: none;
  background: 0 0 !important;
}
.owl-carousel .owl-nav .owl-prev {
  right: auto;
  left: 50%;
  margin-left: -60px;
  border: none;
  background: 0 0 !important;
}
.owl-carousel .owl-nav [class*="owl-"] i {
  color: #262626;
  font-size: 28px;
  font-weight: bolder !important;
  width: 31px !important;
  height: 29px;
}
.textBig {
  font-weight: 600;
  font-size: 1.03rem;
}
.cld-features {
  letter-spacing: 0;
  font-size: 16px;
  line-height: 45px;
  color: #252525;
}
.pjct-title{
  font-size: 30px;
  line-height: 33px;
  color: white;
}
.prjct-title-sm{
  font-size: 18px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 24px;
    margin-bottom: 4px;
    color: #fff;
}
.nws-sc-s h2.ttl-nws {
  font-size: 18px;
  color: #565656;
  line-height: 23px;
  margin: 1em 0 .5em;
  -webkit-transition: .3s;
  transition: .3s;
  text-overflow: ellipsis !important;
  display: -webkit-box;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical;
  height: 45px;
  /* overflow: hidden; */
}
.vd-gl .post-item-description h2{
  margin-bottom: 0;
    color: #fff;
    line-height: 24px;
    font-size: 15px;
}
.post-item .post-item-description .title{
  font-size: 30px;
}
#footer li {
  text-align: left;
  line-height: 1.4rem;
}
.lessMB {
  margin-bottom: 1.035714286em;
}
.searchList {
  margin-top: 40px;
}
.searchList li {
  list-style-type: none;
  margin: 0 0 20px;
  padding: 10px 0 0;
  border-top: 1px solid #d4d4d4;
}
.searchList a {
  font-size: 18px;
  margin-bottom: 10px;
  color: #18355e;
}
.searchList a:hover {
  color: #1F5AA9;
}
.form-control.error,
.sm-form-control.error {
  border-color: #ff5e5e;
}
select::-ms-expand {
  display: none;
}
.background-overlay-color::before {
  background: url(../images/assent/bg-banner1.png) center center/cover repeat-x
    fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
}
.core_value_sec h4.textColorGreen1 {
  font-weight: 700;
  letter-spacing: 0;
  font-size: 16px;
  line-height: 16px;
  color: #252525 !important;
}
.core_value_sec .post-item-description {
  padding: 0 15px;
}
.mt-1 {
  margin-top: 10px;
}
.mt-2 {
  margin-top: 15px;
}
.mt-3 {
  margin-top: 20px;
}
.mt-4 {
  margin-top: 25px;
}
.mt-5 {
  margin-top: 30px;
}
.mb-0 {
  margin-bottom: 0;
}
.mb-1 {
  margin-bottom: 10px;
}
.mb-2,
.project_ctgry_sec .project_ctgry_box {
  margin-bottom: 15px;
}
.mb-3 {
  margin-bottom: 20px;
}
.mb-4 {
  margin-bottom: 25px;
}
.mb-5 {
  margin-bottom: 30px;
}
.pr-1 {
  padding-right: 10px;
}
.pr-2 {
  padding-right: 15px;
}
.pr-3 {
  padding-right: 20px;
}
.overlay_content_box .content_box {
  padding: 10px 20px;
  position: absolute;
  margin-top: -92px;
  margin-left: -23px;
  width: 100%;
}
.overlay_content_box .content_box h2 {
  font-size: 40px;
  line-height: 45px;
  color: #18335f;
  margin-bottom: 0;
  font-family: sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0;
}
.overlay_content_box .content_box small {
  font-size: 23px;
  font-weight: 700;
  color: #18335f;
}
div.overlay_content_box .content_box p {
  color: #C0C0C0 !important;
  font-weight: 600;
  font-size: 18px !important;
}
.new_project_box {
  display: flex;
  margin-bottom: 20px;
  min-height: 166px;
}
.new_project_box .img_box {
  flex-grow: 1;
  flex-basis: 0;
}
.new_project_box .img_box img {
  height: 100%;
}
.new_project_box .content_box {
  flex-grow: 1;
  flex-basis: 0;
  padding-right: 15px;
}
.new_project_box .well {
  border-bottom: 1.5px solid #000;
  text-align: left;
  padding-bottom: 12px;
  margin-bottom: 5px;
}
.new_project_box .well h4 {
  margin-bottom: 1px;
  color: #18355f;
  font-family: sans-serif !important;
  font-size: 14px;
  letter-spacing: 0;
  line-height: 20px;
  font-weight: 600 !important;
}
.new_project_box .well p {
  color: #000;
  font-weight: 500;
  font-family: Montserrat, Helvetica, Arial, sans-serif;
  font-size: 13px;
  margin-bottom: 0;
  line-height: 17px !important;
}
.project_ctgry_sec {
  display: flex;
}
.project_ctgry_sec .project_ctgry_box .img_box {
  box-shadow: 0 0 10px #b9b7b7;
  margin-bottom: 15px;
}
.project_ctgry_sec .project_ctgry_box h4 {
  line-height: 25px;
  color: #18335f;
  font-weight: 800;
  font-size: 18px;
}
.project_overviw_box {
  position: relative;
  background: #C0C0C0;
}
.project_overviw_box img {
  padding-left: 40px;
}
.ftb_box_outer {
  width: 100%;
  background: #C0C0C0;
  border-radius: 15px;
  height: 100%;
}
.ftb_box_outer .ftb_heder {
  width: 100%;
  background: #18335f;
  border-radius: 15px 15px 0 0;
  padding: 20px;
  min-height: 125px;
}
.ftb_box_outer .ftb_heder h4 {
  font-size: 20px;
  line-height: 25px;
  color: #fff;
}
.ftb_content_box {
  padding: 20px;
  color: #fff;
}
.bgsc-efct,
.img-hover-effct {
  /* overflow: hidden; */
}
.bgsc-efct .imgLiquid,
.img-hover-effct img {
  transition: 0.5s ease-out;
}
.bgsc-efct:hover .imgLiquid,
.img-hover-effct:hover img {
  transition: 0.5s ease-out;
  transform: scale(1.2);
}
@media (max-width: 1199px) {
  .landing_page .project_overviw_box .content_box h2 {
    width: 52.7%;
    top: 0;
    bottom: 0;
  }
  .new_project_box .img_box {
    flex-grow: 1;
    flex-basis: inherit;
    order: 1;
    margin-bottom: 10px;
  }
  .page-title .innerTitleMain2 {
    font-size: 35px !important;
  }
  .new_project_box {
    flex-direction: column;
  }
  .new_project_box .content_box {
    order: 2;
  }
}
@media (max-width: 991px) {
  .bannerText {
    margin-top: 0;
  }
  .innerTitleMain2 {
    font-size: 32px;
    line-height: 30px;
  }
  #header.header-modern:not(.header-active) #header-wrap {
    background-color: #fcffff;
    border-radius: 4px;
  }
  .prjTxt,
  .table-responsive {
    border: none;
  }
  #header #top-search form {
    top: 69px;
    right: 2%;
  }
  .searchList {
    margin-left: -47px;
  }
  .searchList li {
    text-align: left !important;
  }
  .searchList li a {
    font-size: 15px;
    line-height: 13px;
  }
  .dropdown-menu a {
    color: #000 !important;
  }
  .bannerTitle {
    font-size: 25px !important;
    line-height: 24px !important;
  }
  .bannerBtnBx {
    margin-top: -12px;
  }
  .scroll-down {
    bottom: 9px;
  }
  .prjTxt {
    background: 0 0;
  }
  .breadcrumb {
    display: none;
  }
  .post-item-description h3 {
    font-size: 21px;
    font-weight: 400;
    margin-bottom: -0.86em;
  }
  .hpViewMorePrj {
    bottom: -20px;
    margin-right: 30.22222% !important;
  }
  .ftb_box_row {
    display: block !important;
  }
  .project_ctgry_sec {
    display: block;
  }
  .project_ctgry_sec .project_ctgry_box h4 {
    font-size: 15px;
  }
  .overlay_content_box .content_box {
    margin-top: -90px;
  }
  .overlay_content_box .content_box h2 {
    font-size: 28px;
  }
}
@media (min-width: 768px) {
  .project_overviw_box .content_box h2 {
    -moz-transform-origin: 0 50%;
    -moz-transform: rotate(-90deg) translate(-50%, 50%);
    -webkit-transform-origin: 0 50%;
    -webkit-transform: rotate(-90deg) translate(-50%, 50%);
    -o-transform-origin: 0 50%;
    -o-transform: rotate(-90deg) translate(-50%, 50%);
    -ms-transform-origin: 0 50%;
    -ms-transform: rotate(-90deg) translate(-50%, 50%);
    transform-origin: 0 50%;
    transform: rotate(-90deg) translate(-50%, 50%);
    position: absolute;
    top: 0;
    bottom: -1px;
    width: 220.5px;
    height: 40px;
    margin: auto;
    background: #C0C0C0;
    color: #fff;
    z-index: 1;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    font-size: 15px;
    line-height: 40px;
  }
}
@media (max-width: 767px) {
  .map_img {
    margin-bottom: 10px;
  }
  .landing_page .project_overviw_box .content_box h2 {
    width: 100%;
    text-transform: uppercase;
  }
  .overview_banner_rw .img_box {
    margin-top: 20px;
  }
  .ftb_box_outer .ftb_heder {
    min-height: inherit;
  }
  .project_overviw_box {
    display: flex;
    flex-direction: column;
  }
  .project_overviw_box .content_box {
    order: 2;
    background: #C0C0C0;
  }
  .project_overviw_box .content_box h2 {
    font-size: 15px;
    line-height: 40px;
    color: #fff;
    text-align: center !important;
  }
  .project_overviw_box img {
    padding: 0;
    order: 1;
  }
  #page-title .page-title {
    margin-top: 40px;
  }
  .page-title .innerTitleMain2 {
    font-size: 30px !important;
    line-height: 35px !important;
  }
  .overlay_content_box .content_box {
    margin-top: 0;
    padding: 20px 0 0;
    position: inherit;
    margin-left: 0;
  }
  .overlay_content_box .content_box h2 {
    text-align: left;
  }
  .overlay_content_box .content_box p {
    text-align: left !important;
    margin-bottom: 10px;
  }
}
@media (max-width: 479px) {
  .landing_page .page-title .innerTitleMain2 {
    font-size: 35px !important;
  }
}
.cntsc p {
  font-size: 14px;
}
.cntsc b {
  margin-bottom: 7px;
  display: inline-block;
}
.project_ctgry_sec .project_ctgry_box h3 {
  line-height: 25px;
  color: #18335f;
  font-weight: 800;
  font-size: 18px;
}
.fnt-h3 {
  font-size: 1.35714286em;
  line-height: 1.68421053em;
  color: #252525;
}


/* ===== Logo size override (appended 2025-09-24 15:49:07) ===== */
#header #logo a { display: inline-flex; align-items: center; }
#header #logo img,
#logo img,
.logo img {
  height: auto !important;
  max-height: 50px !important;
  width: auto !important;
}
/* Tweak header padding so larger logo fits nicely */
#header #header-wrap { min-height: 64px;  padding-top: 12px; padding-bottom: 12px; }
@media (max-width: 991px) {
  #header #logo img,
  #logo img,
  .logo img { height: 40px !important; max-height: 44px !important; }
}
/* ===== End logo override ===== */

#header.header-modern.header-active #header-wrap { padding-top: 12px; padding-bottom: 12px; min-height: 88px; }
#header.header-modern.header-active #logo img { height: 72px !important; max-height: 50px !important; }
/* ===== Logo aspect-ratio and size refinement (append) ===== */
#header #logo a { display: inline-flex; align-items: center; }
#header #logo img,
#logo img,
.logo img {
  height: 45px !important;      /* taller for better presence */
  max-height: 50px !important;  /* cap to avoid overflow */
  width: auto !important;       /* prevent horizontal stretch */
  object-fit: contain;          /* keep aspect ratio inside box */
}
#header #header-wrap { padding-top: 12px; padding-bottom: 12px; min-height: 64px; }
@media (max-width: 991px) {
  #header #logo img,
  #logo img,
  .logo img { height: 40px !important; max-height: 44px !important; }
  #header #header-wrap { min-height: 64px; }
}
/* ===== End refinement ===== */


/* ===== Nav active/current highlight to blue-silver theme ===== */
/* Text/link color for active/current menu items */
#mainMenu nav > ul > li:hover > a,
#mainMenu nav > ul > li.active > a,
#mainMenu nav > ul > li.current > a,
#mainMenu nav > ul > li.current-menu-item > a,
#mainMenu nav > ul > li > a:focus,
#mainMenu nav > ul > li > a:active {
  color: #1F5AA9 !important;
}
/* If theme uses bottom border/underline for active state, set to blue */
#mainMenu nav > ul > li:hover > a:after,
#mainMenu nav > ul > li.active > a:after,
#mainMenu nav > ul > li.current > a:after,
#mainMenu nav > ul > li.current-menu-item > a:after {
  background-color: #1F5AA9 !important;
  border-color: #1F5AA9 !important;
}
/* Dropdown items active/current */
#mainMenu .dropdown-menu li:hover > a,
#mainMenu .dropdown-menu li.active > a,
#mainMenu .dropdown-menu li.current > a,
#mainMenu .dropdown-menu li.current-menu-item > a {
  color: #1F5AA9 !important;
  background-color: transparent !important; /* avoid green backgrounds */
}
/* Pills/tabs style active state common across site */
.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus {
  background-color: #1F5AA9 !important;
  border-color: #1F5AA9 !important;
}
/* Pagination active state to blue */
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
  background-color: #1F5AA9 !important;
  border-color: #1F5AA9 !important;
}
/* Breadcrumb hover highlight to blue (consistency) */
.breadcrumb a:hover { color: #1F5AA9 !important; }
/* ===== End nav highlight overrides ===== */
/* ===== Active/current state highlight to blue-silver ===== */
/* Top-level main menu active/current/hover links */
#mainMenu nav > ul > li:hover > a,
#mainMenu nav > ul > li.active > a,
#mainMenu nav > ul > li.current > a,
#mainMenu nav > ul > li.current-menu-item > a,
#mainMenu nav > ul > li > a:focus,
#mainMenu nav > ul > li > a:active {
  color: #1F5AA9 !important;
}
/* Underline/indicator for active menu items */
#mainMenu nav > ul > li:hover > a:after,
#mainMenu nav > ul > li.active > a:after,
#mainMenu nav > ul > li.current > a:after,
#mainMenu nav > ul > li.current-menu-item > a:after {
  background-color: #1F5AA9 !important;
  border-color: #1F5AA9 !important;
}
/* Dropdown items: active/current */
#mainMenu .dropdown-menu li:hover > a,
#mainMenu .dropdown-menu li.active > a,
#mainMenu .dropdown-menu li.current > a,
#mainMenu .dropdown-menu li.current-menu-item > a {
  color: #1F5AA9 !important;
  background-color: transparent !important;
}
/* Generic helpers often used by themes */
.current,
.current-menu-item > a,
.current_page_item > a,
.menu-item.current > a,
.menu-item.active > a,
.nav > li.active > a,
.nav > li.active > a:hover,
.nav > li.active > a:focus {
  color: #1F5AA9 !important;
  border-color: #1F5AA9 !important;
}
/* Pills/tabs */
.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus { background-color: #1F5AA9 !important; border-color: #1F5AA9 !important; }
/* Pagination */
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus { background-color: #1F5AA9 !important; border-color: #1F5AA9 !important; }
/* Breadcrumb hover */
.breadcrumb a:hover { color: #1F5AA9 !important; }
/* ===== End active/current overrides ===== */
/* Top nav: active/current/hover links */
#mainMenu nav > ul > li:hover > a,
#mainMenu nav > ul > li.active > a,
#mainMenu nav > ul > li.current > a,
#mainMenu nav > ul > li.current-menu-item > a,
#mainMenu nav > ul > li > a:focus,
#mainMenu nav > ul > li > a:active {
  color: #1F5AA9 !important; /* blue */
}

/* If your theme shows an underline/indicator (:after), make it blue */
#mainMenu nav > ul > li:hover > a:after,
#mainMenu nav > ul > li.active > a:after,
#mainMenu nav > ul > li.current > a:after,
#mainMenu nav > ul > li.current-menu-item > a:after {
  background-color: #1F5AA9 !important;
  border-color: #1F5AA9 !important;
}

/* Dropdown items (remove green background, make text blue on active) */
#mainMenu .dropdown-menu li:hover > a,
#mainMenu .dropdown-menu li.active > a,
#mainMenu .dropdown-menu li.current > a,
#mainMenu .dropdown-menu li.current-menu-item > a {
  color: #1F5AA9 !important;
  background-color: transparent !important;
}

/* Generic helpers some themes use */
.current,
.current-menu-item > a,
.current_page_item > a,
.menu-item.current > a,
.menu-item.active > a,
.nav > li.active > a,
.nav > li.active > a:hover,
.nav > li.active > a:focus {
  color: #1F5AA9 !important;
  border-color: #1F5AA9 !important;
}

/* Tabs/pills and pagination (optional, for consistency) */
.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus {
  background-color: #1F5AA9 !important;
  border-color: #1F5AA9 !important;
}
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
  background-color: #1F5AA9 !important;
  border-color: #1F5AA9 !important;
}/* ===== Top nav active/current highlight to blue-silver ===== */
#mainMenu nav > ul > li:hover > a,
#mainMenu nav > ul > li.active > a,
#mainMenu nav > ul > li.current > a,
#mainMenu nav > ul > li.current-menu-item > a,
#mainMenu nav > ul > li > a:focus,
#mainMenu nav > ul > li > a:active { color: #1F5AA9 !important; }
#mainMenu nav > ul > li:hover > a:after,
#mainMenu nav > ul > li.active > a:after,
#mainMenu nav > ul > li.current > a:after,
#mainMenu nav > ul > li.current-menu-item > a:after { background-color: #1F5AA9 !important; border-color: #1F5AA9 !important; }
#mainMenu .dropdown-menu li:hover > a,
#mainMenu .dropdown-menu li.active > a,
#mainMenu .dropdown-menu li.current > a,
#mainMenu .dropdown-menu li.current-menu-item > a { color: #1F5AA9 !important; background-color: transparent !important; }
.current,
.current-menu-item > a,
.current_page_item > a,
.menu-item.current > a,
.menu-item.active > a,
.nav > li.active > a,
.nav > li.active > a:hover,
.nav > li.active > a:focus { color: #1F5AA9 !important; border-color: #1F5AA9 !important; }
.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus { background-color: #1F5AA9 !important; border-color: #1F5AA9 !important; }
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus { background-color: #1F5AA9 !important; border-color: #1F5AA9 !important; }
/* ===== End active/current overrides ===== */
/* ===== Global typography standardization ===== */
/* Base font family and size for body text */
html { font-size: 16px !important; }
body,
p,
li,
ul li,
ol li,
a,
span,
div,
label,
small,
strong,
em,
blockquote,
table,
th,
td,
input,
select,
textarea,
button {
  font-family: gotham_htfbook, "Gotham HTF", Arial, Helvetica, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
}
/* Ensure headings use the same font family (keep their visual hierarchy) */
h1, h2, h3, h4, h5, h6 {
  font-family: gotham_htfbook, "Gotham HTF", Arial, Helvetica, sans-serif !important;
}
/* Optional: normalize paragraph margins for consistency */
p { margin-top: 0.6em; margin-bottom: 0.6em; }
/* ===== End typography standardization ===== */
/* ===== Set headings under images to blue ===== */
/* Targets the h3 captions below images in service sections */
.scsws h3,
.post-item-description h3 {
  color: #1F5AA9 !important;
}
/* If any captions use <p> directly below images */
.scsws p.caption,
.post-item-description p.caption { color: #1F5AA9 !important; }
/* ===== End blue captions ===== */
/* ===== Buttons/links (Know More, Read More, Services) to blue ===== */
/* Primary buttons */
.button,
.button.color,
.btn,
.btn.btn-primary,
.moreBtnBanner,
a.item-link {
  background-color: #1F5AA9 !important;
  border-color: #1F5AA9 !important;
  color: #fff !important;
}
/* Hover/focus states */
.button:hover,
.button:focus,
.btn:hover,
.btn:focus,
a.item-link:hover,
a.item-link:focus,
.moreBtnBanner:hover,
.moreBtnBanner:focus {
  background-color: #18497F !important; /* darker blue on hover */
  border-color: #18497F !important;
  color: #fff !important;
}
/* If item-link is text-only in some sections, ensure text is blue */
a.item-link:not([class*="btn"]):not(.button) {
  background: transparent !important;
  color: #1F5AA9 !important;
  border-color: #1F5AA9 !important;
}
/* ===== End button overrides ===== */
/* ===== Button theme: default blue, hover silver ===== */
/* Default state: blue */
.button,
.button.color,
.btn,
.btn.btn-primary,
.moreBtnBanner,
a.item-link {
  background-color: #1F5AA9 !important;
  border-color: #1F5AA9 !important;
  color: #fff !important;
}
/* Hover/focus: silver with dark blue text for contrast */
.button:hover,
.button:focus,
.btn:hover,
.btn:focus,
.moreBtnBanner:hover,
.moreBtnBanner:focus,
a.item-link:hover,
a.item-link:focus {
  background-color: #C0C0C0 !important;
  border-color: #C0C0C0 !important;
  color: #18355F !important; /* dark blue text on silver */
}
/* Text-only item links (no btn class): default blue text, hover silver chip */
a.item-link:not([class*="btn"]):not(.button) {
  background: transparent !important;
  color: #1F5AA9 !important;
  border-color: #1F5AA9 !important;
}
a.item-link:not([class*="btn"]):not(.button):hover,
a.item-link:not([class*="btn"]):not(.button):focus {
  background-color: #C0C0C0 !important;
  color: #18355F !important;
}
/* ===== Navbar alignment: center nav block, right-align items (desktop only) ===== */
@media (min-width: 992px) {
  /* Put logo and main menu on the same line */
  #header #header-wrap > .container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px; /* tight gap to free space for menu */
    flex-wrap: nowrap;
    padding-left: 0; /* move content left to gain extra room */
    width: 98%;            /* slightly increase navbar width */
    max-width: 1360px;     /* cap to avoid over-stretching on very wide screens */
    margin: 0 auto;        /* keep centered */
  }

  /* Subtle left shift of the logo to free a bit more width */
  #header #logo { margin-left: -12px; }
  #header #logo a { padding-left: 0 !important; }

  /* Allow menu area to use remaining space */
  #mainMenu { flex: 1 1 auto; }

  /* Remove internal container side gaps inside menu so centering is exact */
  #mainMenu > .container { padding-left: 0; padding-right: 0; width: 100%; }

  /* Ensure the nav spans the container width (container itself is centered) */
  #mainMenu nav { width: 100%; }

  /* Use flex to push items to the right */
  #mainMenu nav > ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; /* slightly tighter spacing to increase nav width */
    margin: 0;
    padding: 0;
    flex-wrap: nowrap; /* keep items on one line */
  }

  /* Neutralize theme floats/inline styles on desktop */
  #mainMenu nav > ul > li {
    float: none !important;
    display: block;
  }

  /* Keep top-level labels on a single line and slightly tighten padding */
  #mainMenu nav > ul > li > a {
    white-space: nowrap;
    padding-left: 9px;
    padding-right: 9px;
  }
}
/* ===== End navbar alignment ===== */
/* ===== End: button theme ===== */
/* ===== Force primary buttons to blue, hover silver (high specificity) ===== */
body a.btn,
body a.btn.btn-primary,
body .button,
body a.item-link,
body .moreBtnBanner {
  background-color: #1F5AA9 !important;
  border-color: #1F5AA9 !important;
  color: #fff !important;
  background-image: none !important;
}
body a.btn:hover,
body a.btn:focus,
body a.btn.btn-primary:hover,
body a.btn.btn-primary:focus,
body .button:hover,
body .button:focus,
body .button.color:hover,
body .button.color:focus,
body a.item-link:hover,
body a.item-link:focus,
body .moreBtnBanner:hover,
body .moreBtnBanner:focus {
  background-color: #C0C0C0 !important;
  border-color: #C0C0C0 !important;
  color: #18355F !important;
}
/* Outline/text-only item-link: blue by default, silver on hover */
body a.item-link:not([class*="btn"]):not(.button) {
  background: transparent !important;
  color: #1F5AA9 !important;
  border-color: #1F5AA9 !important;
}
body a.item-link:not([class*="btn"]):not(.button):hover,
body a.item-link:not([class*="btn"]):not(.button):focus {
  background-color: #C0C0C0 !important;
  color: #18355F !important;
}
/* Legacy theme classes sometimes used */
.btn-default, .btn-light { background-color: #1F5AA9 !important; border-color: #1F5AA9 !important; color: #fff !important; }
.btn-default:hover, .btn-light:hover { background-color: #C0C0C0 !important; border-color: #C0C0C0 !important; color: #18355F !important; }
/* ===== End force button theme ===== */
/* Default: blue */
.button,
.button.color,
.btn,
.btn.btn-primary,
.moreBtnBanner,
a.item-link {
  background-color: #1F5AA9 !important;
  border-color:   #1F5AA9 !important;
  color: #fff !important;
  background-image: none !important;
}

/* Hover/focus: silver */
.button:hover,
.button:focus,
.btn:hover,
.btn:focus,
.moreBtnBanner:hover,
.moreBtnBanner:focus,
a.item-link:hover,
a.item-link:focus {
  background-color: #C0C0C0 !important;
  border-color:   #C0C0C0 !important;
  color: #18355F !important; /* dark blue text for contrast */
}

/* If item-link is text-only in some sections, keep blue text and silver on hover */
a.item-link:not([class*="btn"]):not(.button) {
  background: transparent !important;
  color: #1F5AA9 !important;
  border-color: #1F5AA9 !important;
}
a.item-link:not([class*="btn"]):not(.button):hover,
a.item-link:not([class*="btn"]):not(.button):focus {
  background-color: #C0C0C0 !important;
  color: #18355F !important;
}