@media screen and (min-width: 768px) {

  #navbar .navbar-collapse {
    background-color: #fff;
  }

  .level-0-items.navbar-nav {
    display: flex;
    list-style: none;
  }

  #block-frontier-main-menu-domain .navbar-nav>li>a:hover {
    background-color: unset !important;
    border-bottom: 3px solid #D4722D;
  }

  #block-frontier-main-menu-domain .navbar-nav>li>a:focus {
    background-color: unset !important;
  }

  .navbar.navbar-expand ul.level-0-items li.level-0-item {
    padding: 0 2rem;
  }

  #block-frontier-main-menu-domain .navbar-nav>li>a {
    font-size: 15px;
  }

  .menu-item {
    color: white;
    font-weight: 400;
  }

  .dropdown,
  header .contextual-region,
  .navbar.navbar-expand {
    position: static !important;
  }

  .dropdown-content {
    display: none;
    position: absolute;
    left: 0;
    z-index: 1;
    top: 155px;
    overflow-x: hidden;
    background: url('/themes/custom/frontier/images/pattern1 1.png') #0D2C5F center center no-repeat;
    right: 0;
  }

  .dropdown:hover .dropdown-content {
    display: inline-block;
    min-height: 550px;
  }

  .dropdown-content .row {
    display: flex;
    justify-content: space-between;
    padding: 5rem 0;
  }

  /* Create three equal columns that floats next to each other */
  .column {
    /* float: left;
    width: 33.33%;
    padding: 2% 0 2% 10%; */
  }

  .column a {
    float: none;
    padding: 16px;
    text-decoration: none;
    display: block;
    text-align: left;
  }

  .mobile-only.btn.nav-collapse {
    display: none;
  }

}

@media screen and (max-width: 767px) {
  .column .menu-opener.closed::after {
    content: "+";
    display: inline-block;
    padding: 0 16px;
    color: white;
  }

  .column.active .menu-opener.closed::after {
    display: none;
  }

  .column .menu-opener.open::after {
    display: none;
  }

  .column.active .menu-opener.open::after {
    content: "-";
    display: inline-block;
    padding: 0 16px;
    color: white;
  }

  .mobile-only.bg-overlay,
  .navbar-collapse {
    animation: none;
    transition: none;
  }

  .top-nav-title.nav-link.dropdown-toggle[href="#"]::after,
  .dropdown .dropdown-content .menu-item[href="javascript:void(0)"]::after {
    content: "+";
    display: inline-block;
    padding: 0 10px;
  }

  .nav-item.dropdown.open .top-nav-title.nav-link.dropdown-toggle[href="#"]::after,
  .dropdown-content .column.active .menu-item[href="javascript:void(0)"]::after {
    content: "-";
    display: inline-block;
    padding: 0 10px;
  }

  #navbar-collapse {
    width: 80%;
    position: absolute;
    height: 100vh !important;
    max-height: 100vh !important;
    top: 0;
  }

  #navbar-collapse.in {
    display: block;
    z-index: 2;
  }

  .mobile-only.bg-overlay.show {
    position: absolute;
    width: calc(100vw + 20px);
    height: 966px;
    left: -12px;
    top: -17px;
    background: rgba(255, 255, 255, 0.9);
    display: block;
    z-index: 1;
  }

  .mobile-only.bg-overlay {
    display: none;
  }

  .btn.nav-collapse.show {
    position: absolute;
    top: 0;
    right: 0;
    /* background-color: transparent; */
    color: #0D2C5F;
    z-index: 3;
    display: block;
    /* background-image: url('/themes/custom/frontier/images/menu-collapse.svg'); */
    z-index: 999;
    font-size: 3rem;
    padding: 1rem 2rem;
  }

  .btn.nav-collapse {
    /* display: none; */
    padding: 2rem;
    position: absolute;
    right: 3rem;
    top: 0;
  }

  .navbar-default .navbar-nav>li>a:hover,
  .navbar-default .navbar-nav>li>a:focus {
    background-color: unset !important;
  }

  .level-0-items.navbar-nav {
    margin-left: -35px;
  }

  .level-0-item.nav-item.dropdown {
    border-left: 3px solid #D4722D;
    margin-bottom: 11px;
    height: 46px;
    padding-left: 5px;
    margin-top: -7px;
  }

  .level-0-item.nav-item.dropdown.open {
    display: inline-block;
    height: auto;
  }

  .top-nav-title.nav-link {
    position: relative;
    top: 10px;
  }

  .navbar-default .navbar-nav>li>a {
    color: #fff !important;
    font-size: 18px;
    font-weight: 700;
    padding: 10px 20px !important;
    margin-right: 2rem !important;
    width: 100px;
  }

  .navbar-default .navbar-nav>.open>a {
    background-color: transparent !important;
  }

  .navbar-default .navbar-nav>li>a:hover,
  .navbar-default .navbar-nav>li>a:focus,
  .navbar-default .navbar-nav>li>a:active {
    background-color: transparent !important;
    color: white;
  }

  .top-nav-title,
  .column h4 a {
    font-size: 18px;
    color: white;
    font-weight: 700;
    padding: 10px 0 10px 0;
  }

  .child-wrapper .menu-item {
    color: white;
    font-weight: 400;
    font-size: 18px;
  }

  .menu-item:hover {
    color: white;
    text-decoration: none;
  }

  .mobile-only.child-wrapper.show a {
    display: flex;
    padding: 15px 0 15px 15px;
  }

  .dropdown-content {
    display: none;
  }

  .dropdown-content .column {
    padding: 10px 0 10px 0;
  }

  .level-0-item.dropdown.open .dropdown-content {
    display: inline-block;
    width: 100%;
    /* margin-left: -30px; */
    clear: both;
    background: #25416F;
    padding: 15px 15px 0 40px;
    /* margin-top: 25px; */
    position: relative;
    left: 0;
    right: 0;
    margin: 25px 0 0 -30px;
  }

  .dropdown-content .row {
    margin: 0;
    background-color: #25416F;
  }

  .mobile-only.child-wrapper {
    display: none;
  }

  .mobile-only.child-wrapper.open {
    display: inline-block;
  }

  header #block-frontier-account-menu a {
    padding: 5px 20px !important;
    width: 100px;
    display: block;
    text-align: center;
  }

  section#block-contact {
    display: block !important;
  }

  header .block-contact .nav > li > a {
    text-align: center;
  }
}

a.nav-link {
  text-decoration: none;
}

@media screen and (max-width: 390px) {
  .navbar-default .navbar-nav>li>a {
    width: 80px !important;
    padding: 10px 10px !important;
  }

  header #block-frontier-account-menu a {
    padding: 5px 10px !important;
    width: 80px !important;
    display: block;
  }
}

/* LAnguage switcher */
.language-switcher .btn.dropdown-toggle {
  background: none;
  color: #e4801c;
}

.language-switcher .btn.dropdown-toggle {
  display: none;
}

.language-switcher .btn.dropdown-toggle.is-active {
  display: block;
}

#block-languageswitchercontent {
  position: absolute;
  right: 76px;
  top: 85px;
  z-index: 2;
}

@media screen and (min-width: 775px) and (max-width: 890px) {
  #block-languageswitchercontent{
    right: 30px;
  }
}

.path-frontpage #block-languageswitchercontent {
  top: -76px;
  z-index: 2;
}

.path-frontpage #navbar {
  z-index: 2;
}

.path-frontpage .region.region-content {
  position: relative;
  z-index: 1;
}

#language-switch {
  background: white;
  border: 1px solid gray;
  list-style: none;
  border-radius: 4px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}

#language-switch li {
  padding: 8px 20px 10px 0;
}

/* SUB LOGO Anniversary */
.block-brand .logo.navbar-btn:hover {
  text-decoration: none;
}

.block-brand .divider {
  width: 1.5px;
  height: 72px;
  display: inline-block;
  background: #173a79;
  position: relative;
  top: 32px;
  right: 4.9px;
}

.block-brand .anniversary-logo {
  width: 90px !important;
  height: 140px !important;
}

/* Site logo margin */
@media screen and (min-width: 768px) {
  header .navbar-header {
    height: 120px !important;
  }

  .navbar-btn {
    margin-top: 32px !important;
  }
}

footer .webform-submission-sign-up-to-our-newsletter-form .captcha .g-recaptcha>div{
  height: auto !important;
}

footer .webform-submission-sign-up-to-our-newsletter-form .captcha .g-recaptcha>div>div>iframe{
  margin: 20px 0;
}

@media screen and (min-width: 320px) and (max-width: 768px) {
  .navbar-collapse.collapse .language-switcher {
    position: unset !important;
  }
}
