#testcss {
  color: red;
}

/* desktop header */

.FDICcontainer.container {
  padding: 0.5rem 0 0.5rem 0;
}

.FDICcontainer > * {
  justify-content: center;
}

.FDICcontainer > * > * {
  width: 65%;
}

@media (min-width: 768px) {
  .FDICcontainer > * > * {
    max-width: 40%;
  }
}

ul.header-link-list li::before {
  display: none;
}

ul.header-link-list {
  padding: 0;
  position: initial;
}

.desktop-header-block {
  display: none;
  /*padding-top: 30px;*/
}

.menuContainer {
  position: relative;
}

.header-cpb-logo {
  position: static;
}

.menuContainer .header-main-links {
  position: static;
}

.desktop-header-block.show {
  display: block;
}

.header-link {
  font-size: 14px;
  color: #16222c;
  display: inline-block;
  position: relative;
}

.header-link:hover {
  color: #16222c;
  text-decoration: underline;
}

.header-dropdown::after {
  content: "";
  /* display: block; */
  background: url(/images/header/down_caret.svg);
  background-repeat: no-repeat;
  position: absolute;
  width: 15px;
  height: 8px;
  top: 8px;
  margin-left: 5px;
}

.header-dropdown.active::after {
  background: url(/images/header/up_caret.svg);
  background-repeat: no-repeat;
}

.header-menu-wrapper {
  /*min-height: 67px;*/
  display: flex;
  justify-content: flex-end;
  font-weight: 500;
}

#header-hamburger {
  position: absolute;
}

.hamburger {
  padding-top: 28px;
  width: 100px;
}

.hamburger-button.active {
  background-color: #fff;
}

.button-img {
  width: 33px;
  height: 28px;
}

.hamburger-button-img {
  /*display: block;*/
  /*margin-left: auto;*/
  /*margin-right: auto;*/
  transform: scale(1.3);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  /*top: 0;*/
  /*left: 0;*/
  /*right: 0;*/
  /*bottom: 0;*/
  /*cursor: pointer;*/
}

.hamburger-button-text {
  color: #16222c;
  text-decoration: none;
  text-align: center;
  font-size: 13px;
  margin: 0.25rem;
}

.searchBlock {
  margin-right: 30px;
  margin-top: 10px;
}

.jpLink {
  margin-top: 10px;
  margin-left: 30px;
  min-width: 48px;
}

.languageLink {
  margin: auto 0 auto 15px;
}

#languageText::after {
  top: 25px;
}

/* top level link container */
.header-link-list {
  display: flex;
  justify-content: space-between;
  list-style: none;
  margin-top: 10px;
  flex-grow: 1;
  padding-left: 27px;
  /* max-width: 585px; */
  align-items: center;
  margin-right: 20px;
}

.header-link-list > li .header-link {
  padding-left: 10px;
  padding-right: 10px;
}

.megaMenu-tabs {
  display: flex;
  justify-content: flex-start;
  height: 55px;
  list-style: none;
  background-color: #f9f4f0;
}

.megaMenu-tab-content {
  background: #fff;
  padding: 46px 59px 47px 58px;
}

.megaMenu-tab-link {
  /*font-size: 14px;*/
  display: inline-block;
  width: 34%;
  text-align: center;
  cursor: pointer;
  transition: 0.3s all;
  padding-top: 15px;
  padding-bottom: 12px;
}

.megaMenu-tab-link.active > span {
  padding-bottom: 15px;
  border-bottom: 5px solid #eebad0;
}

.megaMenu-tab-link > span:hover {
  text-decoration: underline;
}

.megaMenu-tab-link.active {
  background: #fff;
}

.header-megaMenu {
  position: absolute;
  /*top: 30px;*/
  /*right: 0; */
  /*right: -475px;*/
  width: 85vw;
  max-width: 996px;
  /*margin-left: calc(-50vw + 50% + 10px);*/
  /*width: 996px;*/
  margin-top: 30px;
  z-index: 999;
  box-shadow: 0 0 3px #919ba3;
  animation: slideUpIn;
  animation-duration: 0.5s;
  animation-fill-mode: both;
  display: none;
}
@keyframes slideUpIn {
  0% {
    /*-webkit-transform: translateY(50%); */
    transform: translateY(25%);
    visibility: visible;
  }
  100% {
    /*-webkit-transform: translateY(0); */
    transform: translateY(0);
  }
}

.header-megaMenu.show {
  display: block;
}

#personal-megaMenu {
  left: -22px;
}

#business-megaMenu {
  left: -180px;
}

#wealth-megaMenu {
  left: -340px;
}

/* TAB BLOCK */
.tab-content {
  display: none;
  /*padding: 45px;*/
}

.tab-content.active {
  display: block;
}

.tab-personal-grid {
  column-count: 3;
  display: block;
  column-gap: 55px;
  height: auto;
}

.tab-business-grid {
  column-count: 3;
  display: block;
  column-gap: 55px;
  height: auto;
}

.tab-wealth-grid {
  column-count: 3;
  display: block;
  column-gap: 55px;
  height: auto;
}

.tab-personal-grid li {
  -webkit-column-break-inside: avoid;
  break-inside: avoid;
}

.tab-business-grid li {
  -webkit-column-break-inside: avoid;
  break-inside: avoid;
}

.tab-wealth-grid li {
  -webkit-column-break-inside: avoid;
  break-inside: avoid;
}

.tab-tool-grid {
  column-count: 2;
  display: block;
  column-gap: 55px;
  height: auto;
}

.tab-link-block {
  padding-bottom: 20px;
  display: block;
}

.tab-main-link {
  color: #16222c;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 14px;
}

.tab-sub-link {
  color: #404040;
  font-size: 14px;
}

.subMenu > li {
  display: block;
}

.subMenu li {
  margin-bottom: 7px;
}

.tab-bottom-link {
  margin-top: 33px;
}

.tab-want-col {
  width: 50%;
}

.navInner {
  display: flex;
}

.navLinks {
  border-right: 1px solid #919ba3;
}

.navLinks ul li {
  margin-bottom: 5px;
}

.tab-want-col > .lmo {
  color: #253746;
  text-transform: uppercase;
  font-weight: 400;
  display: inline-block;
  transition: 0.3s all;
  border: 1px solid #253746;
  border-radius: 10px;
  padding: 12px 40px;
}

/* slide animation for links in want tab */
.tab-content > .navInner > .tab-want-col > ul > li > .want-links {
  display: none;
  color: #16222c;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 14px;
  transition: 0.3s all;
  position: relative;
}

.tab-content.active > .navInner > .tab-want-col > ul > li > .want-links {
  display: block;
  animation: zoomInLeft ease backwards;
  animation-duration: 0.5s;
}

/* ---------- */

.btb-block {
  padding-left: 75px;
}

.btb-block p {
  font-size: 14px;
  color: #253746;
  margin-bottom: 11px;
}

.tab-want-col h4 {
  /* font-family: "GT Alpina"; */
  font-size: 18px;
  color: #253746;
  font-weight: 900;
  margin-bottom: 8px;
}

ul {
  list-style: none;
}

/* search box css */
#newFormSearchBox {
  position: absolute;
    left: 70%;
    top: 50%;
}

.newFormSearchBox {
  display: none;
  animation: slideOutRight 1s;
}

.newFormSearchBox.show {
  display: block;
  animation: slideInRight 1s;
}

.screen-reader-text {
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  position: absolute;
  margin: -1px;
  padding: 0;
  height: 1px;
  width: 1px;
  word-wrap: normal;
  border: 0 none;
}

/* mobile header  */
ul.mobileMenu-list li::before {
  display: none;
}

.mobileLoginDropdown {
  top: 60px;
  right: 0;
  z-index: 100;
  -webkit-animation-name: slideUpIn;
  animation-name: slideUpIn;
  -webkit-animation-duration: 0.5s;
  animation-duration: 0.5s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  box-shadow: 0 0 3px #919ba3;
  background-color: #fff;
}

.mobileLoginDropdown ul {
  padding: 0;
  position: initial;
}

.mobileLoginDropdown .mobileCollapseNav h4 {
  padding: 14px 15px;
  font-size: 14px;
  font-weight: 500;
  color: #16222c;
  position: relative;
  cursor: pointer;
  background-color: #faf6f3;
}

.mobileLoginDropdown .mobileCollapseNav.collapsed h4::after {
  background: url(/images/header/down_caret.svg);
  background-repeat: no-repeat;
  position: absolute;
  content: "";
  right: 18px;
  top: 20px;
  width: 15px;
  height: 8px;
}

.mobileLoginDropdown .mobileCollapseNav h4::after {
  background: url("/images/header/up_caret.svg");
  background-repeat: no-repeat;
  position: absolute;
  content: "";
  right: 18px;
  top: 20px;
  width: 15px;
  height: 8px;
}

.mobileLoginDropdown .mobileCollapseNav ul {
  padding-bottom: 16px;
}

.mobileMenu .mobileMenu-list .mobile-submenu li a {
  text-transform: uppercase;
  font-size: 14px;
  color: #253746;
  font-weight: 400;
  letter-spacing: -0.4px;
  position: relative;
  display: flex;
}

.mobileMenu .mobileMenu-list .mobile-submenu .otherLinks.custom li a {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.4px;
  position: relative;
  display: block;
}

.mobileLoginDropdown .mobileCollapseNav ul li a {
  font-size: 14px;
  font-weight: 400;
  color: #16222c;
  padding: 3px 15px;
  padding-left: 15px;
  display: block;
}

.mobileLoginDropdown .mobileCollapseNav ul li a:hover {
  background-color: rgba(0, 194, 169, 0.2);
  text-decoration: none;
}

.mobileLoginDropdown .mobileCollapseContent .bgWrap {
  padding: 14px 15px;
}

.mobileLoginDropdown .mobileCollapseContent h5 {
  color: #16222c;
  font-size: 16px;
  font-weight: 300;
  /* font-family: "GT Alpina"; */
}

.mobileLoginDropdown .mobileCollapseContent form {
  margin-top: 16px;
}

.mobileLoginDropdown .mobileCollapseContent .form-group {
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 10px 15px 0 15px;
  margin-bottom: 10px;
}

.mobileLoginDropdown .mobileCollapseContent .formWrap {
  max-width: 100%;
  width: 187px;
  padding: 0;
  border-bottom: 1px solid #5c6974;
}

.mobileLoginDropdown .form-control {
  border: none;
  border-radius: 0;
  padding: 12px 24px;
  font-weight: 300;
}

.mobileLoginDropdown .mobileLoginActions {
  clear: both;
  height: 100px;
  border-bottom: 1px dashed #697075;
  padding-top: 15px;
}

.mobileLoginDropdown .mobileLoginActions .loginBtn {
  width: 50%;
  float: left;
}

.mobileLoginDropdown .forgotpwd p a {
  color: #107f78;
  font-size: 14px;
}

.mobileLoginDropdown .mobileCollapseContent .otherLinks {
  margin-top: 25px;
}

.mobileLoginDropdown .otherLinks.custom {
  height: 15px;
}

.mobileLoginDropdown .otherLinks.custom li {
  width: 50%;
  float: left;
  text-align: center;
}

.mobileLoginDropdown .mobileCollapseContent .otherLinks li {
  display: inline-block;
}

.mobileLoginDropdown .mobileCollapseContent .otherLinks li a {
  text-transform: uppercase;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}

.mobileLoginDropdown .otherLinks.custom li a {
  color: #107f78;
  font-size: 14px;
}

.mobile-header-block {
  display: none;
  background: #faf6f3;
}

.mobile-header-block.show {
  display: block;
}

.mobile-header {
  justify-content: space-between;
  display: flex;
  padding-left: 30px;
}

.mobile-header-logo {
  margin-top: 5px;
  margin-bottom: 5px;
}

/* mobile menu css */

.mobileMenu {
  width: 100%;
  display: none;
  z-index: 1000;
  background-color: #fff;
}

.mobileMenu-container {
  max-width: 720px;
  padding: 0 20px;
  margin: 0 auto;
}

.mobileMenu-list {
  list-style: none;
  padding-top: 8px;
  padding-bottom: 19px;
}

.mobileMenu-list > li {
  opacity: 0;
}

.mobileMenu-list > li {
  padding-top: 10px;
  -webkit-animation: slideIn 0.3s 0.15s ease 1 forwards;
  animation: slideIn 0.3s 0.15s ease 1 forwards;
}

.mobile-top-link {
  color: #253746;
  font-weight: 500;
  font-size: 14px;
  padding-right: 20px;
  width: 100%;
  justify-content: space-between;
  display: flex;
}

.mobile-top-link > .wrapper {
  color: #253746;
  font-weight: 500;
  font-size: 14px;
  padding-right: 20px;
  width: 100%;
  display: flex;
}

.mobile-top-link:hover {
  text-decoration: underline;
  color: #253746;
}

.mobile-submenu {
  list-style: none;
  display: none;
  padding-top: 6px;
  padding-bottom: 6px;
  padding-right: 6px;
  padding-left: 15px;
  background-color: #faf6f3;
  margin-right: 14px;
}

.mobile-submenu li {
  margin-bottom: 6px;
}

.mobile-submenu2 {
  padding-top: 6px;
  padding-bottom: 6px;
  padding-right: 6px;
  padding-left: 15px;
}

.mobile-mid-link {
  width: 100%;
  justify-content: space-between;
  display: flex;
}

.mobile-mid-link div {
  text-transform: uppercase;
  font-size: 14px;
  color: #253746;
  font-weight: 400;
  letter-spacing: -0.4px;
  position: relative;
}

/*  */

.plus-minus-icon {
  height: 14px;
  width: 14px;
  background-image: url(/images/header/plus.svg);
  background-repeat: no-repeat;
}

li.active > a > .plus-minus-icon {
  background-image: url(/images/header/minus.svg);
}

.mobile-submenu2 {
  display: none;
  list-style: none;
}

.login {
  background-color: #fff;
}

.mobile-submenu .loginDropdown {
  display: block;
  position: relative;
  top: auto;
  right: auto;
  width: auto;
}

.mobileMenu.show {
  display: block;
}

@media (max-width: 1339px) {
  .desktop-header-block .container {
    padding: 0;
  }
}

@media (max-width: 1279px) {
  .logoImg {
    -webkit-align-items: center;
    align-items: center;
    height: 100%;
  }
  .header-link-list {
    padding-left: 0;
    min-width: 404px;
    margin-right: 20px;
  }
  .header-dropdown::after {
    display: none;
  }
  .tab-personal-grid {
    column-count: 2;
    column-gap: 55px;
  }
  .tab-business-grid {
    column-count: 2;
    column-gap: 55px;
  }
  .tab-wealth-grid {
    column-count: 2;
    column-gap: 55px;
  }
  .megaMenu-tab-content {
    padding: 30px;
  }
}

@media (max-width: 1200px) {
  #business-megaMenu {
    left: -170px;
  }

  #wealth-megaMenu {
    left: -330px;
  }
}

@media (max-width: 1123px) and (min-width: 1054px) {
  #wealth-megaMenu {
    left: -300px;
  }
}

@media (max-width: 1054px) and (min-width: 1034px) {
  #business-megaMenu {
    left: -160px;
  }
  #wealth-megaMenu {
    left: -285px;
  }
}

@media (max-width: 1033px) and (min-width: 1001px) {
  #business-megaMenu {
    left: -150px;
  }

  #wealth-megaMenu {
    left: -265px;
  }
}

@media (max-width: 1000px) and (min-width: 951px) {
  #business-megaMenu {
    left: -140px;
  }

  #wealth-megaMenu {
    left: -240px;
  }
}

@media (max-width: 950px) and (min-width: 900px) {
  #personal-megaMenu {
    left: -32px;
  }
  #business-megaMenu {
    left: -132px;
  }

  #wealth-megaMenu {
    left: -225px;
  }
}

@media (max-width: 900px) {
  .header-menu-wrapper {
    height: 110px;
  }
  .header-supermenu-wrapper {
    display: none;
  }
  .logoImg {
    max-width: 264px;
  }
  .header-link-list {
    display: none;
  }
  .searchBlock {
    display: none;
  }
  .loginBlock {
    display: none;
  }
  .jpLink {
    display: none;
  }
}

@media (max-width: 576px) {
  .FDICcontainer > * > * {
    width: 80%;
  }
}
