.alerts {
    position: fixed;
    z-index: 1000;
    bottom: 16px;
    left: 16px;
    width: calc(100% - 32px);
    max-width: 400px;
    height: calc(100% - 32px);
    max-height: 530px;
    color: #fff;
    border-radius: 2px;
    overflow: hidden;
    pointer-events: none;
}

.alerts.open {
    pointer-events: all;
    box-shadow: 0px 20px 35px 0px rgba(0, 0, 0, 0.25);
}

.alerts .alerts-background {
    position: absolute;
    bottom: 12px;
    left: 12px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #1a1a1a;
    opacity: 0;
    transform: scale(1);
    transform-origin: 50% 50%;
    transition: transform 300ms cubic-bezier(0, 0, 0.3, 1);
    will-change: transform;
}

.alerts .alerts-background.yellow {
    background-color: #FDB924;
}

.alerts .alerts-background.shown {
    opacity: 1;
}

.alerts.open .alerts-background {
    transform: scale(26);
    transition: transform 300ms cubic-bezier(0, 0, 0.3, 1);
}

.alerts .alerts-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform: translateY(100%) translate(0, -72px);
    transition: transform 200ms cubic-bezier(0, 0, 0.3, 1);
    will-change: transform;
}

.alerts.open .alerts-inner {
    transform: translateY(0);
    transition: transform 200ms cubic-bezier(0, 0, 0.3, 1) 15ms;
}

.alerts .alerts-header {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    padding: 0 72px;
    width: 100%;
    height: 72px;
    line-height: 72px;
}

.alerts.open .alerts-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.alerts .alerts-header .title {
    margin-bottom: 0;
    font-size: 20px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 200ms cubic-bezier(0, 0, 0.3, 1) 50ms;
}

.alerts.open .alerts-header .title {
    opacity: 1;
}

.alerts .alerts-body {
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    height: calc(100% - 72px);
    opacity: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    transition: opacity 200ms cubic-bezier(0, 0, 0.3, 1) 50ms;
}

.alerts.open .alerts-body {
    opacity: 1;
}

.alerts .alert {
    line-height: 1.1;
    position: relative;
    padding: 12px 12px 12px 72px;
    transition: background-color 400ms cubic-bezier(0,0,0.3,1);
}

.alerts .alert a:hover {
    text-decoration: none;
}

.alerts .alert:first-of-type { padding-top: 24px; }

.alerts .alert:last-of-type { padding-bottom: 24px; }

.alerts .alert:hover {
    background-color: #111;
}

.alerts .alert .alert-icon {
    position: absolute;
    top: 12px;
    left: 36px;
    font-size: 18px;
    transform: translateX(-50%);
    color: #b8b4b4;
}

.alerts .alert:first-of-type .alert-icon { top: 24px; }

.alerts .alert .alert-title {
    margin-bottom: 6px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    transition: color 400ms cubic-bezier(0,0,0.3,1);
}

.alerts .alert:hover .alert-title {
    color: #00A4EF;
}

.alerts .alert a:focus .alert-title {
    outline: 0 !important;
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px #00a4ef;
}

.alerts .alert .alert-description p {
    font-size: 16px;
    font-weight: 500;
    color: #b8b4b4;
}

.alerts .alerts-icon {
    position: absolute;
    top: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    width: 48px;
    height: 48px;
    font-size: 18px;
    color: #1a1a1a;
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.4);
    background-color: transparent;
    outline: none;
    overflow: hidden;
    cursor: pointer;
    transition: background-color 400ms cubic-bezier(0,0,0.3,1);
}

.alerts.open .alerts-icon {
    color: #fff;
    box-shadow: none;
}

.alerts .alerts-icon i { flex: 1; }

.alerts .alerts-icon:hover { background-color: #F7AA02; }

.alerts.open .alerts-icon:hover { background-color: #111; }

.alerts .alerts-icon.icon-bell {
    left: 12px;
    pointer-events: all;
}

.alerts .alerts-icon.icon-close {
    right: 12px;
    opacity: 0;
}

.alerts.open .alerts-icon.icon-close { opacity: 1; }

.alerts .alerts-icon.icon-close .icon {
    display: block;
	width: 24px;
	height: 24px;
	background-position: center;
	background-size: 100%;
	background-repeat: no-repeat;
}

.alerts .alerts-icon.icon-close .icon.icon-close {
    background-image: url(/includes/public/assets/shared/svg/close-X-60x60.svg);
    background-size: 180%;    
}
