// Navbar
.unit {
  width: 100%;
  height: inherit;
  // align-items: stretch;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;

  &.unit-padding {
    padding: 0 $control-padding;
  }

  &.unit-centered {
    .unit-section {
      justify-content: center !important;
    }
  }

  .unit-section-main {
    flex: 1 0 auto !important;
  }

  .unit-section {
    height: inherit;
    position: relative;
    align-items: center;
    display: flex;
    flex: 1 0 0;

    &:not(:first-child):last-child {
      justify-content: flex-end;
    }

    &.unit-section-centred {
      justify-content: center !important;
    }
  }

  .unit-center {
    display: flex;
    align-items: center;
    justify-content: center !important;
    flex: 1 0 auto;
  }

  .unit-brand {
    font-size: $font-size-lg;
    font-weight: 500;
    text-decoration: none;
  }
}
