@use '_variables' as *;
@use '_mixins' as *;

:host {
  width: 100%;
}

.list-overflow-parent {
  overflow: hidden;
  display: flex;
  // For the menu icon
  max-width: calc(100vw - 30px);
}

.list-overflow-menu {
  position: absolute;
  right: 25px;
}

button {
  width: 30px;
  border: 0;

  &::after {
    display: none;
  }

  &.route-active {
    &::after {
      display: inherit;
      border: 2px solid pvar(--mainColor);
      position: relative;
      right: 95%;
      top: 50%;
    }
  }
}

::ng-deep .dropdown-menu {
  margin-top: 0 !important;
  position: static;
  right: auto;
  bottom: auto;
}

.modal-body {
  a {
    @include disable-default-a-behaviour;

    color: currentColor;
    box-sizing: border-box;
    display: block;
    font-size: 1.2rem;
    padding: 9px 12px;
    text-align: initial;
    text-transform: unset;
    width: 100%;

    &.active {
      color: pvar(--mainBackgroundColor) !important;
      background-color: pvar(--mainHoverColor);
      opacity: .9;
    }
  }
}
