@media (max-width: 767px) {
  .menu-container {
    width: 100%;
  }
  button.navbar-toggle {
    z-index: 100;
    margin-left: -60px;
  }
  .city-item, button.navbar-toggle {
    display: inline-block;
  }
  .city-item>span {
    white-space: nowrap;
    display: inline-block;
  }
  .city-item {
    overflow: hidden;
    max-height: calc(1em + 15px);
  }
  .city-name {
    padding-right: 60px;
  }

  .menu-control {
    display: none;
  }
  
}

@media (min-width: 768px) {
  .menu-container {
    max-width: 100%;
    min-width: 100%;
    white-space: nowrap;
    max-height: 50px;
    overflow: hidden;
  }

  .menu-control {
    top: 0px;
    font-size: 20px;
    font-weight: bold;
    width: 50px;
    background-color: rgba(200, 200, 200, 0.5);
    height: 100%;
    position: absolute;
    z-index: 100;
    text-align: center;
  }
  .menu-control::before {
    content: '';
    vertical-align: middle;
    display: inline-block;
    height: 100%;
  }
  .menu-control div {
    display: inline-block;
    vertical-align: middle;
  }
  .menu-control:hover, .menu-control:focus, .menu-control:active {
    background-color: rgba(150, 150, 150, 0.7);
    color: rgba(100, 100, 100, 0.9);
  }
  .menu-control.prev {
    left: 0px;
  }
  .menu-control.next {
    right: 0px;
  }

  .menu-content, .brand-item {
    display: inline-block;
    position: relative;
  }
  .brand-item {
    float: left;
    left: 0px;
    overflow: hidden;
    white-space: nowrap;
    padding-right: 15px;
    min-width: 160px;
  }
  .brand-item::after {
    display: inline-block;
    content: '';
    position: absolute;
    right: 0px;
    top: 0px;
    width: 15px;
    height: 100%;

    background: -moz-linear-gradient(left, rgba(249,249,249, 0.2), #efefef 100%);
    background: -webkit-linear-gradient(left, rgba(249,249,249, 0.2), #efefef 100%);
    background: -o-linear-gradient(left, rgba(249,249,249, 0.2), #efefef 100%);
    background: -ms-linear-gradient(left, rgba(249,249,249, 0.2), #efefef 100%);
    background: linear-gradient(to right, rgba(249,249,249, 0.2), #efefef 100%);
  }
  .menu-content {
    float: left;
    right: 0px;
    width: 70%;
    max-width: calc(100% - 160px);
  }
  .menu-place {
    overflow: hidden;
  }
  .menu-place ul {
    white-space: nowrap;
  }
  .menu-place ul li {
    display: inline-block;
    float: none;
  }
}
