/* Legacy v8 header/megamenu overrides extracted from production CSS */

.nav-up .cd-main-header {
  top: -87px;
}

.cd-main-header {
  height: 87px;
}

.cd-main-content {
  margin-top: 87px;
}

@media only screen and (min-width: 1025px) {
  .cd-main-header {
    height: 129px !important;
  }

  .cd-main-content {
    margin-top: 129px;
  }

  .nav-up .cd-main-header {
    top: -50px;
  }

  .cd-header-buttons {
    top: 25px;
  }

  .cd-primary-nav {
    margin-top: 20px;
    text-align: right;
    font-family: 'Roboto Condensed', sans-serif;
  }

  .cd-primary-nav > li {
    float: none;
    display: inline;
  }

  .cd-primary-nav > li > a.cdlink {
    height: 60px;
    line-height: 60px;
    font-size: 12px;
    letter-spacing: 0.03rem;
    text-transform: uppercase;
    font-weight: 600;
    color: #777;
  }

  .cd-primary-nav ul {
    text-align: left;
  }

  .cd-primary-nav .container {
    padding: 0 !important;
  }

  .cd-primary-nav .cd-secondary-wrap .cd-secondary-nav > div > li {
    height: auto !important;
  }

  .cd-primary-nav .cd-secondary-wrap .cd-secondary-nav > div > li a.l2 {
    line-height: 1em;
    padding-bottom: .4em;
    font-size: 18px;
    color: #003a79;
    padding-left: 5px;
  }

  .cd-primary-nav .cd-secondary-wrap .cd-secondary-nav > div > li a.l2:hover {
    background: #eee;
  }

  .cd-primary-nav .cd-secondary-wrap .cd-secondary-nav a.cdlink {
    height: auto !important;
  }

  .cd-header-top {
    display: block;
    background: #eee;
    color: #777;
    height: 50px;
    width: 100%;
  }

  .cd-header-top .topbar-items-wrapper .topbar-item {
    float: right;
    border-left: 1px dotted #777;
    margin-left: 1em;
    padding-left: 1em;
  }

  .cd-header-top .topbar-items-wrapper .topbar-item.topbar-home a img {
    height: 35px !important;
    width: auto;
    margin: 0 auto;
    display: block;
  }

  .cd-header-top .topbar-items-wrapper .topbar-item.topbar-langmenu .lang-label span {
    padding: 0 15px;
  }

  .cd-header-top .btn,
  .cd-header-top .nav-pills > li > a {
    border-radius: 0;
    color: #777;
    background: transparent;
    width: 100%;
    line-height: 1.428571429;
    padding: 2px 12px;
    font-size: 13px;
    font-weight: 400;
  }

  .cd-header-top .nav-pills > li.active > a,
  .cd-header-top .nav-pills > li.active > a:hover,
  .cd-header-top .nav-pills > li.active > a:focus {
    color: #fff;
    background: #d4bc00;
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
  }

  .cd-header-top .btn {
    border-bottom: 1px solid transparent;
  }

  .cd-header-top .nav-pills > li > a:hover,
  .cd-header-top .btn:hover,
  .cd-header-top .nav-pills > li > a:focus,
  .cd-header-top .btn:focus {
    color: #003a79;
    background: transparent;
    border-bottom: 1px solid #d4bc00;
  }

  .cd-header-top .fa {
    padding-right: 15px;
  }

  .cd-header-top .socialmenu .link-wrap .fa {
    padding-right: 0;
  }

  .cd-primary-nav li.topbar .topbar-items-wrapper .topbar-item.topbar-home-mobile {
    height: 50px;
  }

  .cd-primary-nav li.topbar .topbar-items-wrapper .topbar-item.topbar-home-mobile a img {
    height: 30px;
    margin-bottom: 20px;
  }
}

header .cd-header-nav .cd-logo img {
  max-width: 220px;
  max-height: 68px;
}

@media only screen and (min-width: 450px) {
  header .cd-header-nav .cd-logo img {
    max-width: 300px;
  }
}

@media only screen and (min-width: 550px) {
  header .cd-header-nav .cd-logo img {
    max-width: 400px;
  }
}
