.nav-main > .container {
  display: flex;
  flex-wrap: inherit;
  align-items: center;
  justify-content: space-between;
}
@media (max-width: 991px) {
  .nav-search {
    display: flex;
    align-items: center;
    gap: 20px;
  }
}
.nav-header {
  position: sticky;
  top: 0;
  z-index: 9;
  background-color: #FFFFFF;
}
.nav-header .nav-wrapper {
  display: flex;
  justify-content: space-between;
  flex-direction: column-reverse;
}
@media (min-width: 991px) {
  .nav-header .nav-wrapper {
    flex-direction: initial;
  }
  .nav-header .nav-wrapper .nav-outer {
    margin-left: auto;
  }
}
.nav-header .nav-wrapper .locationbar {
  display: none;
  align-items: center;
  background: url("/wp-content/uploads/nav-location-bg.png");
  background-position: left center;
  background-repeat: no-repeat;
  background-size: cover;
  min-width: 200px;
  height: auto;
  justify-content: end;
}
@media (max-width: 991px) {
  .nav-header .nav-wrapper .locationbar.mobile-view {
    display: block;
    background: #E5F1FA;
  }
  .nav-header .nav-wrapper .locationbar.mobile-view .location-wrap {
    display: flex;
    gap: 10px;
    text-align: left;
    align-items: center;
    padding: 20px 12px;
  }
  .nav-header .nav-wrapper .locationbar.mobile-view .location-text {
    flex: 1;
  }
  .nav-header .nav-wrapper .locationbar.mobile-view .location-text br {
    display: none;
  }
}
@media (min-width: 991px) {
  .nav-header .nav-wrapper .locationbar.desktop-view {
    display: inline-flex;
  }
}
@media (min-width: 992px) and (max-width: 1200px) {
  .nav-header .nav-wrapper .locationbar {
    min-width: 170px;
  }
}
@media (min-width: 991px) {
  .nav-header .nav-wrapper .locationbar {
    height: 120px;
  }
  .nav-header .nav-wrapper .locationbar:after {
    content: "";
    width: max(1rem, calc((100vw - 936px) / 2));
    display: block;
    background-color: #e5f1fa;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    max-height: 120px;
    z-index: -1;
  }
}
@media (min-width: 991px) and (min-width: 1200px) {
  .nav-header .nav-wrapper .locationbar:after {
    width: max(1rem, calc((100vw - 1116px) / 2));
  }
}
@media (min-width: 991px) and (min-width: 1400px) {
  .nav-header .nav-wrapper .locationbar:after {
    width: max(1rem, calc((100vw - 1296px) / 2));
  }
}
.nav-header .nav-wrapper .locationbar .location-wrap {
  text-align: center;
}
.nav-header .nav-wrapper .locationbar .location-icon {
  display: inline-block;
  width: 24px;
  height: 38px;
  margin: 0 auto;
  margin-bottom: 2px;
  transition: 0.3s ease-in-out;
  background-image: url("/wp-content/uploads/nav-location-icon-v1.png");
  background-size: contain;
  background-repeat: no-repeat;
}
.nav-header .nav-wrapper .locationbar .location-icon:hover {
  transform: scale(1.1);
}
.nav-header .nav-wrapper .locationbar .location-text {
  color: #0076CE;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}
@media (min-width: 992px) and (max-width: 1200px) {
  .nav-header .nav-wrapper .locationbar .location-text {
    font-size: 14px;
  }
}
@media (min-width: 991px) {
  .nav-header .nav-wrapper .active-qtc-page.locationbar {
    background: url("/wp-content/uploads/nav-location-bg-active-v1.png");
  }
  .nav-header .nav-wrapper .active-qtc-page.locationbar:after {
    background-color: #0076ce;
  }
  .nav-header .nav-wrapper .active-qtc-page .location-icon {
    background-image: url("/wp-content/uploads/nav-location-icon-active-white.png");
  }
  .nav-header .nav-wrapper .active-qtc-page .location-text {
    color: #fff;
  }
}
@media (max-width: 991px) {
  .nav-header .nav-wrapper .active-qtc-page.mobile-view.locationbar {
    background-color: #0076ce;
  }
  .nav-header .nav-wrapper .active-qtc-page.mobile-view.locationbar .location-icon {
    background-image: url("/wp-content/uploads/nav-location-icon-active-white.png");
  }
  .nav-header .nav-wrapper .active-qtc-page.mobile-view.locationbar .location-text {
    color: #fff;
  }
}
.nav-logo:focus-visible {
  outline: none;
}
.nav-logo > img {
  max-width: 120px;
  height: auto;
}
@media (max-width: 768px) {
  .nav-logo > img {
    max-width: 100px;
  }
}
@media (min-width: 991px) {
  .nav-logo > img {
    margin-top: 10px;
  }
}
.nav-Toggle {
  display: none;
}
.nav-Toggle span {
  font-size: 18px;
  line-height: 1.4;
  color: #21272A;
}
.nav-Toggle .icon-bar {
  width: 100%;
  height: 3px;
  background-color: #0075cf;
  transition: all 0.3s;
}
.nav-top .topnav-wrap {
  display: flex;
  justify-content: end;
}
.nav-top .topnav-list {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  margin-top: 16px;
  line-height: 1;
}
@media (min-width: 992px) and (max-width: 1200px) {
  .nav-top .topnav-list {
    gap: 15px;
  }
}
.nav-top .topnav-list li.menu-item {
  color: #21272A;
  font-size: 14px;
  font-weight: 500;
}
.nav-top .topnav-list li.menu-item:last-child > a:after {
  content: "";
  width: 12px;
  height: 12px;
  margin-left: 10px;
  background-image: url("/wp-content/uploads/External-link-icon.png");
  background-repeat: no-repeat;
  background-size: contain;
  display: inline-block;
}
.nav-top .topnav-list li.menu-item > a:not([href]) {
  cursor: default;
}
.nav-top .topnav-list li.menu-item > a[href]:hover {
  text-decoration: underline;
}
.nav-top .topnav-list li.menu-item.pipe-icon {
  display: none;
}
@media (max-width: 768px) {
  .nav-top .topnav-list li.menu-item.top-infotext {
    display: block;
    width: 100%;
  }
  .nav-top .topnav-list li.menu-item.pipe-icon {
    display: inline-flex;
  }
}
@media (max-width: 368px) {
  .nav-top .topnav-list li.menu-item {
    font-size: 11px !important;
  }
  .nav-top .topnav-list li.menu-item:last-child > a:after {
    width: 10px;
    height: 10px;
    margin-left: 3px;
  }
}
.nav-main .nav-list {
  display: flex;
  list-style-type: none;
  gap: 30px;
  margin-bottom: 0px;
  padding-top: 30px;
  justify-content: end;
}
@media (min-width: 992px) and (max-width: 1280px) {
  .nav-main .nav-list {
    gap: 15px;
  }
}
.nav-main .nav-list li.menu-item {
  color: #21272A;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 18px;
  line-height: 1;
}
@media (max-width: 991px) {
  .nav-main .nav-list li.menu-item {
    position: relative;
    margin-bottom: 0;
  }
}
@media (min-width: 991px) {
  .nav-main .nav-list li.menu-item .sub-menu li.menu-item {
    margin-bottom: 8px;
    font-size: 16px;
  }
}
.nav-main .nav-list li.menu-item .sub-menu li.menu-item > a {
  border: none;
  padding-bottom: 0;
  display: unset;
}
.nav-main .nav-list li.menu-item .sub-menu li.menu-item > a:hover {
  color: #0076CE;
  font-weight: 600;
}
@media (min-width: 991px) {
  .nav-main .nav-list li.menu-item > a {
    border-bottom: 4px solid transparent;
    padding-bottom: 3px;
    display: inline-block;
  }
  .nav-main .nav-list li.menu-item > a:hover {
    border-bottom: 4px solid #0076CE;
    display: inline-block;
    padding-bottom: 3px;
  }
}
.nav-main .nav-list li.menu-item.current-menu-item.current_page_item > a, .nav-main .nav-list li.menu-item.active > a {
  border-bottom: 4px solid #0076CE;
  display: inline-block;
  padding-bottom: 3px;
}
@media (min-width: 992px) and (max-width: 1200px) {
  .nav-main .nav-list li.menu-item {
    font-size: 14px;
  }
}
.nav-main .nav-list li.menu-item.menu-item-has-children .dropdown-caret:after {
  content: "";
  background-image: url("/wp-content/uploads/arrow-single-down.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  width: 12px;
  height: 12px;
  display: inline-block;
  margin-left: 5px;
  cursor: pointer;
}
.nav-main .nav-list li.menu-item.menu-item-has-children.active .dropdown-caret:after {
  content: "";
  transform: rotate(-180deg);
}
.nav-main .nav-list li.menu-item.active {
  transition: 0.3s ease !important;
}
.nav-main .nav-list li.menu-item.active.menu-item-has-children:after {
  transition: 0.3s ease !important;
}
@media (max-width: 991px) {
  .nav-main .nav-list li.menu-item.active.menu-item-has-children:after {
    transform: rotate(-180deg);
  }
}
.nav-main .nav-list li.menu-item.active .sub-menu {
  display: flex;
  gap: 34px;
  margin-top: 8px;
}
@media (max-width: 991px) {
  .nav-main .nav-list li.menu-item.active .sub-menu {
    display: block;
    margin-top: 0;
    padding: 15px 0 0;
  }
}
@media (max-width: 1600px) {
  .nav-main .nav-list li.menu-item:last-child:hover .sub-menu {
    right: 0;
  }
}
.nav-main .nav-list .sub-menu {
  display: none;
  min-width: 228px;
  position: absolute;
  z-index: 1;
}
.nav-main .nav-list .sub-menu > li {
  padding: 0;
}
.nav-main .nav-list .sub-menu > li a {
  font-weight: 500;
  display: block;
  color: #21272A;
}
.nav-main .nav-list .sub-menu > li.subActive > a {
  font-weight: 600;
  color: #0076CE;
}
.nav-list__wrap {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}
@media (min-width: 992px) and (max-width: 1280px) {
  .nav-list__wrap {
    gap: 15px;
  }
}
@media (min-width: 991px) {
  .nav-list__wrap.show-submenu {
    margin-bottom: 16px;
  }
}
.nav-list__wrap .bottom-frame {
  display: none;
}
.nav-list__wrap .footer-nav__mob {
  display: none;
}
@media (max-width: 991px) {
  .nav-Toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 26px;
    height: auto;
  }
  .nav-Toggle.active .icon-bar:first-child {
    transform: rotate(45deg);
    position: relative;
    top: 1px;
  }
  .nav-Toggle.active .icon-bar:nth-child(2) {
    transform: rotate(-45deg);
    position: relative;
    top: -8px;
  }
  .nav-Toggle.active .icon-bar:nth-child(3) {
    display: none;
  }
  .nav-top {
    background: linear-gradient(0deg, rgba(166, 187, 200, 0.16) 0%, rgba(166, 187, 200, 0.16) 100%), #FFF;
    margin-bottom: 10px;
  }
  .nav-top .topnav-wrap {
    display: block;
  }
  .nav-top .topnav-list {
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 6px 0;
    min-height: auto;
    gap: 10px;
    flex-wrap: wrap;
  }
  .nav-top .topnav-list li.menu-item {
    font-size: 12px;
    font-weight: 400;
  }
  .nav-logo {
    position: initial;
    transform: none;
  }
  .nav-logo__wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 10px;
  }
  .nav-list__wrap {
    display: none;
    position: absolute;
    background: #fff;
    z-index: 9;
    left: 0;
    right: 0;
    height: 100vh;
  }
  .nav-list__wrap.active {
    display: block;
    top: 100%;
    overflow: auto;
    height: calc(100vh - 180px);
  }
  .nav-list__wrap .bottom-frame {
    display: block;
  }
  .nav-main .nav-list {
    display: none;
  }
  .nav-main .nav-list.active {
    display: block;
    padding-top: 0;
  }
  .nav-main .nav-list > li.menu-item {
    padding-bottom: 0;
    display: block;
    padding: 24px 0;
    border-bottom: 1px solid rgba(0, 118, 206, 0.2);
  }
  .nav-main .nav-list > li.menu-item:hover > a {
    border: none;
  }
  .nav-main .nav-list > li.menu-item.menu-item-has-children:after {
    width: 16px;
    height: 16px;
    position: absolute;
    top: 14px;
    left: 125px;
    padding: 22px 15px;
    background-position: center;
    background-size: 16px;
  }
  .nav-main .nav-list .sub-menu {
    position: initial;
    border-left: 0;
    border-right: 0;
  }
  .nav-main .nav-list .sub-menu li.menu-item {
    padding-bottom: 0;
  }
  .nav-main .nav-list .sub-menu li.menu-item > a {
    display: block !important;
    padding: 12px 0 12px 30px !important;
  }
}
/* Search bar customization */
.searchbar section {
  margin: 0;
}
.searchbar .wp-block-search__inside-wrapper {
  position: relative;
}
.searchbar {
  display: none !important;
  position: relative;
}
.searchbar .wp-block-search__button {
  color: #0076CE;
  background-color: transparent;
  padding: 0;
}
@media (max-width: 991px) {
  .searchbar .wp-block-search__button {
    padding: 0;
  }
}
.searchbar .wp-block-search__button svg {
  width: 32px;
  height: 32px;
  aspect-ratio: 1;
  rotate: 270deg;
}
.searchbar .wp-block-search.wp-block-search__button-only .wp-block-search__button[aria-expanded=true] {
  max-width: 100%;
}
.searchbar.desktop-view {
  margin-right: -6px;
}
.searchbar.mobile-view {
  display: none;
}
@media (max-width: 991px) {
  .searchbar.desktop-view {
    display: none;
  }
  .searchbar.mobile-view {
    display: inline-block;
  }
}
.custom-search-box {
  position: absolute;
  top: 50px;
  right: 0;
  width: 315px;
  padding: 16px 22px;
  border-radius: 20px;
  background: #FFF;
  box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.2);
}
@media screen and (max-width: 420px) {
  .custom-search-box {
    width: 100vw;
    right: 0;
    top: 68px;
    margin: 0 -12px;
    border-radius: 0;
  }
}
.wp-block-search__input {
  appearance: none;
  padding: 8px 18px;
  line-height: 1.8;
  border-radius: 20px;
  text-decoration: unset !important;
  background: rgba(166, 187, 200, 0.16);
  outline: none !important;
  border: none;
}
