.inline {
  display: inline-block;
}

.wrapper-action {
  width: 135px;
  margin-left: 20px;

  .button.simple {
    line-height: 10px;
  }
}

.wrapper-dropdown {
  position: relative;
  /*left: 10px;*/
  z-index: 100;
  margin-top: 20px;
  padding: 12px 15px;
  width: 200px;
  outline: none;
  border: 1px solid #CECECE;
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -ms-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;

  &:after {
    position: absolute;
    top: 50%;
    right: 15px;
    margin-top: -3px;
    width: 0;
    height: 0;
    border-width: 6px 6px 0 6px;
    border-style: solid;
    border-color: #4cbeff transparent;
    content: "";
  }

  .dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    overflow: hidden;
    max-height: 0;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-top: none;
    border-bottom: none;
    border-radius: 0 0 5px 5px;
    background: #fff;
    color: #39B6D1;
    list-style: none;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;

    li {
      padding: 10px;

      a {
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid #e6e8ea;
        color: #333;
        text-decoration: none;
        transition: all 0.3s ease-out;
      }

      &:last-of-type a {
        border: none;
      }

      i {
        margin-right: 5px;
        color: inherit;
        vertical-align: middle;
      }

      &:hover a {
        color: #57a9d9;
      }
    }
  }

  &.active {
    border-bottom: none;
    border-radius: 5px 5px 0 0;
    background: #39B6D1;
    box-shadow: none;
    color: white;

    &:after {
      border-color: #82d1ff transparent;
    }

    .dropdown {
      max-height: 400px;
      border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    }
  }
}