.tcb-navigation {
  display: flex;
  justify-content: space-between;
  align-content: center;
  height: 56px;
  position: sticky;
  position: -webkit-sticky;
  top:0;
  background-color: var(--white);
  z-index: 999;
}

.tcb-navigation a.skip-main {
  left:-999px;
  position:absolute;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
  z-index:-999;
}

.tcb-navigation a.skip-main:focus, a.skip-main:active {
  color: var(--white);
  background-color: var(--orange);
  left: auto;
  top: auto;
  width: 30%;
  height: auto;
  overflow:auto;
  margin: 10px 35%;
  padding:5px;
  border-radius: 15px;
  text-align:center;
  font-size:1.2em;
  z-index:999;
}

.tcb-navigation .tcb-navigation__logo {
  width: 150px;
  height: 24px;
  margin: 0 auto 0 30px;
  align-self: center;
}

.tcb-navigation .tcb-navigation__menu__desktop{
  display: none;
}

.tcb-navigation .tcb-navigation__menu__mobile {
  display: flex;
}

.tcb-navigation .tcb-navigation__menu__mobile__items ul {
  list-style-type: none;
  padding-inline-start: 0;
}

.tcb-navigation__menu__mobile__icon {
  background-image: url('../../assets/images/menu_icon.svg');
  background-repeat: no-repeat;
  background-size: contain;
  height: 20px;
  width: 20px;
  align-self: center;
  margin: 0 30px 0 auto ;
  cursor: pointer;
  border: none;
  opacity: 0;
  pointer-events: none;
  background-color: var(--white);
}

.tcb-navigation__menu__mobile__close {
  background-image: url('../../assets/images/menu_close_icon.svg');
  background-repeat: no-repeat;
  background-size: contain;
  height: 20px;
  width: 20px;
  align-self: center;
  margin: 0 30px 0 0;
  cursor: pointer;
  border: none;
  opacity: 0;
  position: absolute;
  pointer-events: none;
  background-color: var(--white);
}

.tcb-navigation__menu__icon__active{
  pointer-events: all !important;
  opacity: 1 !important;
  transition: opacity 700ms ease-in;
  background-size: contain;
}

.tcb-navigation .tcb-navigation__menu__mobile__items {
  position: absolute;
  top: 56px;
  width: calc(100% - 30px);
  padding: 10px 0 40px 30px;
  background-color: var(--white);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: scaleY(0);
  transform-origin: top;
  z-index: 999;
  font-size: 14pt;
}

.tcb-menu-open {
  opacity: 1 !important;
  transform: scaleY(1) !important;
}

.tcb-navigation__menu-transition{
  transition: transform 350ms, opacity 450ms;
}

.tcb-navigation .tcb-navigation__menu__mobile__items li:first-of-type {
  margin: 0;
}

.tcb-navigation .tcb-navigation__menu__mobile__items li {
  margin: 30px 0 0 0;
}

.tcb-navigation .tcb-navigation__menu__mobile__items a {
  cursor: pointer;
  font-family: Muli;
  font-weight: 700;
  font-variant-caps: all-small-caps;
  font-variant: small-caps;
  text-decoration: none;
}

.tcb-navigation .tcb-navigation__menu__mobile__items a:hover{
  color:var(--orange);
  border-bottom-style: none;
}

.mobile-openaccount, .mobile-openaccount-hamburger {
  font-style: normal;
  padding: 10px;
}

.mobile-openaccount-hamburger {
  display: block;
  align-self: center;
  width: 75%;
  margin-right: 30px !important;
  padding: 14px;
}

@media screen and (min-width: 768px) {
  .tcb-navigation {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-content: center;
  }

  .tcb-navigation__menu__desktop li {
    display: inline-block;
    margin: auto 0;
    align-self: center;
    line-height: normal;
  }

  .tcb-navigation .tcb-navigation__logo {
    margin: 0 auto 0 30px;
    width: 200px;
    height: 32px;
  }

  .tcb-navigation .tcb-navigation__menu__mobile{
    display: none;
  }

  .tcb-navigation .tcb-navigation__menu__mobile__items{
    visibility: hidden;
    display: none;
  }

  .tcb-navigation .tcb-navigation__menu__desktop {
    visibility: visible;
    display: block;
    width: 480px;
    margin: 0 40px 0 auto;
    align-self: center;
    padding-inline-start: 0px;
  }

  .tcb-navigation .tcb-navigation__menu__desktop ul {

    display: flex;
    justify-content: space-between;

  }

  .tcb-navigation .tcb-navigation__menu__item,
  .tcb-navigation .is-active {
    font-family: Muli;
    font-weight: 700;
    font-variant-caps: all-small-caps;
    font-variant: small-caps;
    align-self: center;
    font-size: 14pt;
    cursor: pointer;
    text-decoration: none;
    transition: color 500ms ease;
  }

  .tcb-navigation .tcb-navigation__menu__item:hover {
    color: var(--orange);
    border-bottom-style: none;
  }

  .mobile-openaccount {
      display: none;
  }
}

@media screen and (min-width: 900px) {
  .tcb-navigation .tcb-navigation__menu__desktop {
    visibility: visible;
    display: block;
    width: 55%;
    max-width: 600px;
    min-width: 450px;
    align-self: center;
    padding-inline-start: 40px;
  }

  .tcb-navigation .tcb-navigation__menu__desktop ul {


    display:flex;
    justify-content: space-between;
  }
}