$greenbgr: #1b9519;
$redbgr: #e00000;
$lightgraybgr: #eeeeee;

.btn {
  cursor: default !important;
}

.circular-button {
  cursor: default !important;
  text-align: center;
  padding: 4px 0 0 1px;
  border-radius: 50%;
  min-width: 35px;
  height: 39px;
  width: 39px;
  z-index: 1;
  font-size: 23px;
  position: absolute;
  box-shadow: 0 3px 5px 1px rgba(0, 0, 0, 0.24), 0 1px 1px 0 rgba(0, 0, 0, 0.24);
  -webkit-appearance: inherit !important;
}

.circular-button:hover {
  transition: background-color .3s ease;
}

.small-circular-button {
  font-size: 17px;
  text-align: center;
  padding: 8px 0 0 0;
  border-radius: 50%;
  min-width: 33px;
  height: 33px;
  width: 33px;
  z-index: 1;
  position: absolute;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.24), 0 1px 1px 0 rgba(0, 0, 0, 0.24);
  -webkit-appearance: inherit !important;
}

.small-circular-button:hover {
  transition: background-color .3s ease;
}

.lightgray-button:hover {
  background-color: $lightgraybgr;
}

.green-button {
  background-color: $greenbgr;
  color: #fff;
  font-weight: normal;
}

.green-button:hover {
  background-color: lighten($greenbgr, 5%);
}

.red-button {
  background-color: $redbgr;
  color: #fff;
  font-weight: normal;
}

.red-button:hover {
  background-color: lighten($redbgr, 35%);
}

.btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus {
  box-shadow: none !important;
}

.nav-link {
  padding-right: 1rem !important;
  padding-left: 1rem !important;
  cursor: default !important;
}

plus-button,
category-switcher-button {

  .abstract-category {
    cursor: not-allowed;
    font-style: italic;
  }

  .abstract-category ul {
    font-style: normal;
  }

  .circular-button {
    width: 41px;
    height: 41px;

    &.category-button {
      padding: 0;
    }
  }
}

.category-button {
  background-color: rgb(240, 240, 240);

  .plus-sign-circle,
  .menu-down-sign-circle {
    position: absolute;
    top: 26px;
    left: 26px;
    border-radius: 50%;
    width: 18px;
    height: 18px;

    .mdi {
      position: absolute;
      left: 0;
      color: white;
      line-height: 17px;
    }
  }

  .plus-sign-circle {
    background-color: $greenbgr;

    .mdi {
      top: -1px;
    }
  }

  .menu-down-sign-circle {
    background-color: $primary;
  }
}

.category-button:hover {

  category-icon {
    filter: brightness(1.15);
    transition: filter .3s ease;
  }

  .plus-sign-circle {
    filter: brightness(1.18);
    transition: filter .3s ease;
  }

  .menu-down-sign-circle {
    filter: brightness(1.25);
    transition: filter .3s ease;
  }
}

.btn-outline-primary:active,
.btn-outline-primary:focus {
  color: #5572A1 !important;
  background-color: #fff !important;
  border-color: #5572A1 !important;
}

.btn-outline-primary:active {
  box-shadow: inset 5px 5px 9px -7px rgba(0, 0, 0, 0.7) !important;
}

.show > .btn-outline-primary.dropdown-toggle {
  @extend :active;
  border-color: #5572A1;
}

.dropdown {
  height: 39px;

  hr {
    margin: 7px 0 9px 0;
  }
}

.dropdown-item {
  cursor: default;
  user-select: none;
  color: #000 !important;

  &:focus {
    background-color: #fff;
  }

  &:hover {
    background-color: $list-item-hover-color;
  }

  &:active {
    background-color: darken($list-item-hover-color, 5%);
    outline: 0;
  }
}

.button-label {
  display: inline-block;
  margin-left: 5px;
}
