/* Example
<div id="notification" class="notification">
    <div class="alert alert-danger flex-row">
        <div class="figure">
            <span class="icon"></span>
        </div>
        <p>Alert text</p>
        <div class="close">&times;</div>
    </div>
</div>
*/

#notification,
.notification {
    padding: 0 10px;
}
#notification .figure,
.notification .figure {
    border: 10px solid #FFFFFF;
    background-color: #FFFFFF;
    border-radius: 50%;
    padding: 5px;
}
#notification .figure .icon,
.notification .figure .icon {
    width: 18px;
    height: 18px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    padding: 5px;
    margin: 0;
}
#notification .flex-row,
.notification .flex-row {
    position: relative;
    display: flex;
    align-items: center;
    flex-flow: row;
    gap: 10px;
}
#notification .flex-column,
.notification .flex-column {
    position: relative;
    display: flex;
    flex-flow: column;
    gap: 10px;
}
#notification .close,
.notification .close {
    position: absolute;
    top: -10px;
    right: 10px;
    color: #ffffff;
}
#notification .close:hover,
.notification .close:hover {
    color: inherit;
}
#notification .alert,
.notification .alert {
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 7px;
    line-height: 2;
}
#notification .alert.center,
.notification .alert.center {
    text-align: center;
}
#notification .alert h4,
.notification .alert h4 {
    margin-top: 0;
    color: inherit;
}
#notification .alert .alert-link,
.notification .alert .alert-link {
    font-weight: bold;
}
#notification .alert > p,
#notification .alert > ul,
.notification .alert > p,
.notification .alert > ul {
    margin-bottom: 0;
}
#notification .alert > p + p,
.notification .alert > p + p {
    margin-top: 5px;
}
#notification .alert-dismissible,
.notification .alert-dismissible {
    padding-right: 35px;
}
#notification .alert-dismissible .close,
.notification .alert-dismissible .close {
    position: relative;
    top: -2px;
    right: -21px;
    color: inherit;
}
/* Default */
#notification .alert-default,
.notification .alert-default {
    background-color: #F7F7F7;
    border-color: #F7F7F7;
    color: #22AAE2;
}
#notification .alert-default hr,
.notification .alert-default hr {
    border-top-color: #F7F7F7;
}
#notification .alert-default .alert-link,
.notification .alert-default .alert-link {
    color: #22AAE2;
}

/* Success */
#notification .alert-success,
.notification .alert-success {
    background-color: #BCE6AF;
    border-color: #d6e9c6;
    /*color: #242424;*/
    color: #295800;
}
#notification .alert-success .icon,
.notification .alert-success .icon {
    background-image: url('/catalog/view/image/success.svg');
}
#notification .alert-success hr,
.notification .alert-success hr {
    border-top-color: #c9e2b3;
}
#notification .alert-success .alert-link,
.notification .alert-success .alert-link {
    color: #2b542c;
}

/* Info */
#notification .alert-info,
.notification .alert-info {
    background-color: #d9edf7;
    border-color: #bce8f1;
    color: #31708f;
}
#notification .alert-info .icon,
.notification .alert-info .icon {
    background-image: url('/catalog/view/image/info.svg');
}
#notification .alert-info hr,
.notification .alert-info hr {
    border-top-color: #a6e1ec;
}
#notification .alert-info .alert-link,
.notification .alert-info .alert-link {
    color: #245269;
}

/* Warning */
#notification .alert-warning,
.notification .alert-warning {
    background-color: #fcf8e3;
    border-color: #faebcc;
    color: #8a6d3b;
}
#notification .alert-warning .icon,
.notification .alert-warning .icon {
    background-image: url('/catalog/view/image/warning.svg');
}
#notification .alert-warning hr,
.notification .alert-warning hr {
    border-top-color: #f7e1b5;
}
#notification .alert-warning .alert-link,
.notification .alert-warning .alert-link {
    color: #66512c;
}

/* Danger */
#notification .alert-danger,
.notification .alert-danger {
    background-color: #E6AFAF;
    border-color: #ebccd1;
    /*color: #242424;*/
    color: #700000;
}
#notification .alert-danger .icon,
.notification .alert-danger .icon {
    background-image: url('/catalog/view/image/error.svg');
}
#notification .alert-danger hr,
.notification .alert-danger hr {
    border-top-color: #e4b9c0;
}
#notification .alert-danger .alert-link,
.notification .alert-danger .alert-link {
    color: #843534;
}

/* Notification push */
#notification-push {
    position: relative;
    width: 100%;
    height: 0;
}
#notification-push > .container {
    position: fixed;
    right: 0;
    max-width: 300px;
    display: flex;
    flex-flow: column;
    gap: 15px;
    margin: 15px;
    z-index: 3;
}
#notification-push > .container > div {
    position: relative;
    display: flex;
    align-items: start;
    flex-wrap: nowrap;
    gap: 10px;
    padding: 15px;
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4,0,0.2,1);
    transition-duration: 150ms;
}
#notification-push > .container > div img {
    width: 50px;
    border-radius: 8px;
}
#notification-push > .container > div .notification-body {
    display: flex;
    flex-flow: column;
    gap: 10px;
    cursor: pointer;
}
#notification-push > .container > div .notification-body h5 {
    margin: 0;
    font-size: 15px;
    font-weight: normal;
}
#notification-push > .container > div .notification-body p {
    margin: 0;
}
#notification-push > .container > div .notification-body img {
    width: 100%;
    border-radius: 8px;
}
#notification-push > .container > div .close {
    position: absolute;
    right: 8px;
    top: 0;
    font-size: 30px;
    cursor: pointer;
}

/* Push */
#notification-push > .container > div.push {
    background: #c8f1ff;
    border: 1px solid #1ea3d2;
    border-radius: 8px;
    -webkit-box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, .15);
    -moz-box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, .15);
    box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, .15)
}

/* Push */
#notification-push > .container > div.info {
    background: #c8f1ff;
    border: 1px solid #1ea3d2;
    border-radius: 8px;
}

/* info */
#notification-push > .container > div.error {
    background: #ef4444;
    border: 1px solid #ff0000;
    border-radius: 8px;
}

/* warning */
#notification-push > .container > div.warning {
    background: #f59e0b;
    border: 1px solid #dc8b00;
    border-radius: 8px;
}

/* success */
#notification-push > .container > div.success {
    background: #10b981;
    border: 1px solid #00af6c;
    border-radius: 8px;
}

#notification-push > .container > div.opacity-0 {
    opacity: 0;
    height: 0;
    padding: 0;
    margin: 0;
}
#notification-push > .container > div.opacity-1 {
    opacity: 1;
}