@mixin alert-variant-icon($background, $border, $text-color, $icon-name) {
  background-color: $background;
  border-color: $border;
  color: $text-color;
  hr {
    border-top-color: darken($border, 5%);
  }
  .alert-link {
    color: darken($text-color, 10%);
  }
  .container-limited {
    padding-left: 41px;
    position: relative;
    &:before {
      content:'';
      width: 16px;
      height: 16px;
      position: absolute;
      z-index: 2;
      left: 15px;
      top: 2px;
      background: url($icon-name) no-repeat top left;
      background-size: 100%;
      opacity: 0.7;
    }
  }
}