.system.notification {
  .alert;

  box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
  border: 0 !important;

  // We have to use !important because the default button style is crazy
  .close {
    position: relative;
    top: -5px;
    right: -10px;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    float: right;
    font-size: 20px !important;
    font-weight: bold;
    line-height: 20px !important;
    color: inherit !important;
    opacity: 0.3;
    filter: alpha(opacity=30);
  }

  &.notification-success {
    .alert-success;
    color: #eef6ef !important;
    background-color: @color-green-piwik !important;
    &:before, p, a {
      color: #eef6ef;
    }
  }
  &.notification-warning {
    .alert-warning;
    background-color: #f57c00;
    color: #fbf7f1 !important;
    &:before, p, a {
      color: #fbf7f1;
    }
  }
  &.notification-danger,
  &.notification-error {
    .alert-danger;
    color: #fdf0f2 !important;
    background-color: #e53935;
    &:before, p, a {
      color: #fdf0f2;
    }
  }
  &.notification-info {
    .alert-info;
    color: #f3feff !important;
    background-color: #00bcd4;
    &:before, p, a {
      color: #f3feff;
    }
  }
}