.panel.form-nav-wrapper {
  $static-opacity: 0.6;
  border: 0;

  .form-header {
    display: flex;
    flex-wrap: wrap;
    padding-top: 32px;

    & > * {
      padding: 0;
    }
        
    .form-title {

      h2 {
        display: inline-flex;
      }
    }

    .language-switcher-header {
      padding: 6px 12px;
      line-height: 1;
      color: $dark-gray;
    }
    
    .language-switcher {
      display: flex;
      flex-flow: row-reverse;
      flex-wrap: nowrap;
      align-self: flex-end;
      font-size: $font-size-base;
      width: 50%;
    
      span.translation-label {
        opacity: $static-opacity;
        align-self: center;
      }
    
      .language-item {
        font-weight: bold;
        margin-left: 10px;
        border-radius: 20px;
        line-height: $badge-line-height;
        background-color: #fff;
        border: solid 1px transparent;
                
        span.badge {
          background-color: #ff0000;
          line-height: normal;
          padding: 0;
          width: 16px;
          height: 16px;
          font-size: 12px;
        }
      }

      .language-item-selected {
        border-color: black;
      }

    }
  }
    
  nav.navbar {
    display: flex;
    align-items: flex-end;
    border: 0;
    opacity: $static-opacity;

    .form-nav {
      padding: 0;

      ul.navbar-nav li {
        margin-right: $padding-large-horizontal * 2;

        a {
          margin: 0;
          padding: 0 0 $padding-large-vertical;
          font-weight: lighter;
        }

        &.active, &:hover, &:focus {

          a {

            &:hover {
              color: $theme-primary-dark;
              font-weight: bold;
            }
    
            &:after {
              height: 3px;
              border: 0;
              background-color: $theme-primary-dark;
              bottom: 0;
            }
          }
        }
      }
    }
  }
}
