@import '../../lib/commonStyles/vertical-align';
@import '../../lib/commonStyles/full-size';
@import '../../lib/commonStyles/no-select';
@import '../../lib/commonStyles/colors';
@import '../../lib/commonStyles/layout';

$blueWidth:110/150*100%;

.navigationButton {
  @include full-size;
  @include no-select;
  outline: 0;
  display: inline-block;
  text-align: center;
  vertical-align: top;
  height: 100%;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.1s ease;
  color: $darkergray !important;
  text-decoration: none !important;
  box-sizing: border-box;
  border-bottom: 1px solid $silver;
}

.navigationButton.active {
  border-bottom: 1px solid $primary-color;
}

.navigationButton.active.linearBorder{
  border-bottom: none;
  position: relative;
  &::after{
    content: '';
    bottom: 0;
    width: 100%;
    height: 1px;
    margin: auto;
    z-index: 1;
    background: linear-gradient(to right,
      $silver 0,
      $silver (100%-$blueWidth)/2,
      $primary-color (100%-$blueWidth)/2,
      $primary-color (100%-$blueWidth)/2+$blueWidth,
      $silver (100%-$blueWidth)/2+$blueWidth,
      $silver 0);
    display: block;
    position: absolute;
  }
}

.iconHolder {
  @include full-size;
}

.icon {
  @include full-size;
  height: 36px;
  line-height: 36px;
}

.labelHolder {
  @include full-size;
  height: 35%;
  position: relative;
}

.label {
  @include full-size;
  @include vertical-align(top);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 0.7em;
}

.notice {
  position: absolute;
  top: calc(54% - 1.4em);
  right: calc(50% - 2.3em);
  width: 1.4em;
  height: 1.4em;
  border-radius: 50%;
  font-size: 0.7em;
  background-color: #f65d60;
  //overflow: hidden;
  color: #fff;
  font-family: Lato;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.notices {
  position: absolute;
  top: calc(54% - 1.4em);
  right: calc(50% - 2.5em);
  width: 2.1em;
  height: 1.5em;
  border-radius: 3em;
  line-height: 1.5em;
  text-align: center;
  font-size: 0.6em;
  background-color: #f65d60;
  overflow: hidden;
  color: #fff;
}
