$bp-utility-panel-medium-min: "min-width:1121px";
$bp-utility-panel-reduce-links-max: "max-width:1120px";

.ma__utility-panel {
  background-color: $c-primary; 
  color: $c-font-inverse;

  @media ($bp-header-toggle-min) {

    &:nth-child(2) {
      padding-top: 20px;
      border-top: 2px solid rgba($c-white, 0.4);
    }
  }

  &__description {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 15px;
    margin-right: 2%;
  }

  &__items {

    @include ma-reset-list;
    margin-bottom: 1.75em;

    @media ($bp-header-toggle-min) {
      display: flex;
      flex-wrap: wrap;
      margin-bottom: 5px;

      .no-flex & {
        display: table-cell;
        vertical-align: middle;
      }
    }
  }

  &__item {
    cursor: pointer;
    font-size: 0;
    margin-bottom: 1.5%;
    background-color: rgba($c-white, 0.2);
    display: flex;
    align-items: center;

    &:nth-child(4n+4) {
      margin-right: 0;
    }

    @media ($bp-header-toggle-min) {
      width: 23%;
      margin-right: 2.5%;
      min-height: 70px;
      
      .no-flex & {
        display: table-cell;
      }
    }

    &:hover {
      opacity: .8;
    }

    .ma__decorative-link {
      line-height: 1.125;
      padding: 10px;
      padding-right: 28px;
    }

    a {
      border: none;
      font-size: 1.375rem;
      margin: 0;
      text-align: left;
      color: $c-font-inverse;
      font-weight: 500;

      @media ($bp-header-toggle-min) and ($bp-utility-panel-reduce-links-max) {
        font-size: 1.25rem;
      }

      &:hover {
        border: none;
      }
    }

    svg {
      fill: $c-font-inverse;
    }
  }
}
