/**
 * // Updater info (must be valid json)
  [updater]{
  "version": 3.02,
  "force": false,
  "allowupdate": true,
  "minimumVersion": 0,
  "tags": ["core"]
  }[/updater]
 */

.notification-container {
    position: fixed;
    height: 100%;
    right: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    z-index: 995;

    pointer-events: none;
}

.notification-container--default {}

.notification-container--top {
    left: 0;
    align-items: center;
}

.notification-container--bottom {
    left: 0;
    bottom: 0;
    justify-content: flex-end;
    align-items: center;
}

.notification {
    position: relative;
    width: 250px;
    min-width: 250px;
    margin: 5px 5px 0 0;
    padding: 5px;
    border-radius: 3px;
    pointer-events: auto;

    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05), 0px 0px 5px 5px rgba(0, 0, 0, 0.2);
    background: linear-gradient(to bottom, rgba(245, 245, 245, 1) 0%, rgba(203, 210, 213, 1) 100%);
    border: 1px solid #000;
    color: #333;

    opacity: 0;
    height: auto;
    transform: scaleY(0.8);
    transform-origin: top;
    transition: all .2s ease-out;
}

.notification-container--bottom .notification {
    transform-origin: bottom;
    width: 90%;
}

.notification-container--top .notification {
    width: 90%;
}

.notification:hover {
    opacity: 0.6;
}

.notification--visible {
    opacity: 1;
    transform: none;
}

.notification--dismissable {
    cursor: pointer;
}

.notification--dismissable:hover::before {
    content: 'X';
    font-family: Arial, sans-serif;
    font-weight: bold;
    position: absolute;
    font-size: 20px;
    color: rgba(0, 0, 0, 1);
    /* semi-transparent black */
    top: 2px;
    right: 5px;
    z-index: 5;
    pointer-events: none;
    /* prevents the X from blocking clicks */
}

.notification__progress {
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    position: absolute;
    bottom: 0;
    left: 0;
}

.notification__action {
    opacity: 0.9;
    font-style: italic;
    padding-top: 10px;
}

.notification--primary {
    background-image: none;
    background-color: var(--notificationPrimaryBackground);
    border-color: var(--notificationPrimaryBorder, #000000);
    color: var(--notificationPrimaryFontColor, #FFFFFF);

    /*text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.7);*/
}

.notification--secondary {
    background-image: none;
    background-color: var(--notificationSecondaryBackground);
    border-color: var(--notificationSecondaryBorder, #000000);
    color: var(--notificationSecondaryFontColor, #FFFFFF);

    /*text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.7);*/
}

.notification--success {
    background-image: none;
    background-color: var(--notificationSuccessBackground);
    border-color: var(--notificationSuccessBorder, #000000);
    color: var(--notificationSuccessFontColor, #FFFFFF);

    /*text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.7);*/
}

.notification--info {
    background-image: none;
    background-color: var(--notificationInfoBackground);
    border-color: var(--notificationInfoBorder, #000000);
    color: var(--notificationInfoFontColor, #FFFFFF);

    /*text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.7);*/
}

.notification--warning {
    background-image: none;
    background-color: var(--notificationWarningBackground);
    border-color: var(--notificationWarningBorder, #000000);
    color: var(--notificationWarningFontColor, #FFFFFF);

    /*text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.7);*/
}

.notification--danger {
    background-image: none;
    background-color: var(--notificationDangerBackground);
    border-color: var(--notificationDangerBorder, #000000);
    color: var(--notificationDangerFontColor, #FFFFFF);

    /*text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.7);*/
}
