/* This file is part of the BIMData Platform package.
(c) BIMData support@bimdata.io
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code. */
.list-choice{
  position: relative;
  &__link{
    padding: 0.75rem 0;
    width: 100%;
    display: block;
    &:hover{
      text-decoration: none;
    }
  }
  &__filter{
    padding: 8px 0;
    width: 140px;
    position: absolute;
    top: 42px;
    left: 20%;
    background: $color-white;
    color: $color-black;
    box-shadow: 0 2px 10px 0 rgba($color-black,.1);
    border-radius: 7px;
    z-index: 2;
  }
  &__group{
    text-align: left;
    .custom-control{
      margin-right: 0;
      padding-left: 34px;
      width: 100%;
      &-input:checked {
        & + .custom-control-label{
          &:before{
            border-color: $color-white;
            @include transition(border-color 0.5s, background-color 0.5s);
          }
        }
      }
      &-label{
        padding: 8px 0;
        width: 100%;
        position: relative;
        cursor: pointer;
        &:before, &:after {
          top: 50%;
          @include transform(translateY(-50%));
        }
        &:before{
          background: $color-white;
          border: solid 1px rgba($color-black, .42);
        }
      }
      &:hover{
        background: $gray3;
      }
    }
  }
}
