.UserProfile {
    margin-top: -1.5rem;
}

.UserProfile__tab_content {
    margin-top: 1.5rem;
}

.UserProfile__top-nav {
  background-color: #333333;
  padding: 0;
  .row {
      .columns {
          overflow-x: auto;
      }
  }
  .menu {
    background-color: transparent;
  }
  .menu > li > a {
      transition: all 200ms ease-in;
      transform: translate3d( 0, 0, 0);
      padding-left: 0.7rem;
      padding-right: 0.7rem;
      color: $white;
      background-color: transparent;
      &:hover {
          background-color: #555;
      }
      &.active {
          background-color: $white;
          z-index: 2;
          color: $black;
          font-weight: bold;
        }
  }

  div.UserProfile__top-menu {
      max-width: 71.42857rem;
      margin-left: auto;
      margin-right: auto;
      display: flex;
      flex-flow: row wrap;
      width: 100%;
      // Override default svg vertical alignment
      .Icon > svg, .Icon span.icon {
          vertical-align: middle!important;
      }
  }
}

.UserProfile__section-title {
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #EEE;
}

.UserProfile__banner {
    text-align: center;
    color: $white;
    a {
        color: $white;
    }
    > div.column {
        background: #23579d; /* for older browsers */
        background: linear-gradient(to bottom, #1a4072 0%, #23579d 100%);

        height: 155px;
    }
    h2 {
        padding-top: 20px;
        .Userpic {
            margin-right: 1rem;
            vertical-align: middle;
        }
    }

    .UserProfile__buttons {
        position: absolute;
        top: 15px;
        right: 5px;

        label.button {
            color: black;
            border-radius: 3px;
            background-color: white;
        }
    }

    .UserProfile__stats {
        margin-bottom: 5px;
        padding-bottom: 5px;

        a {
            @include hoverUnderline;
            vertical-align: middle;
	    }

        span {
            padding: 0px 10px;
        }

        span:nth-child(2) {
            border-left: 1px solid grey;
            border-right: 1px solid grey;
        }

        .NotifiCounter {
            position: relative;
            top: -5px;
        }
    }
}

.UserWallet__balance {
    > div:nth-child(2) {
        text-align: right;
    }
}

@media screen and (max-width: 39.9375em) {

    div.UserProfile__top-nav .menu li>a {
        padding: 8px;
    }

    .UserProfile__top-menu > div.columns {
        padding-left: 0;
        padding-right: 0;
    }

    .UserProfile__banner h2 .Userpic {
        width: 36px !important;
        height: 36px !important;
    }

    .UserProfile__banner .UserProfile__buttons {
        text-align: right;

        label.button {
            display: block;
        }
    }

    .UserWallet__balance {
        > div:last-of-type {
            text-align: left;
        }
    }

    .UserReward__row {
        > div:last-of-type {
            padding-left: 20px;
        }
    }
}
