:root {
	--proof-rgba: rgba(255, 105, 105, 0.8);
}

#notifications {
	position: fixed;
	left: 0;
	bottom: 0;
	display: flex;
	flex-flow: column-reverse;
	padding: 25px;
	padding-bottom: 15px;
    z-index: 995;
}

.notification {
    font-family: 'Noto Sans Thai', sans-serif;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 5px;
    width: 290px;
    height: auto;
    padding: 15px;
    padding-left: 18px;
    padding-right: 18px;
    overflow: hidden;
    margin: auto auto 0px auto;
    animation: fade-out 7.1s linear;
    border: thin solid #d09700;
}
.notification-grid {
    display: grid;
    grid-template-columns: auto auto;
    align-items: right;
    text-align: right;
}
@keyframes fade-out {
	0% { opacity: 1	}
	90% { opacity: 1 }
	100% { opacity: 0 }
}
.notification:hover {
	animation: none 0s linear;
}

.notification:before {
	position: absolute;
	content: "";
	height: 120%;
	width: 30px;
	margin: -28px auto auto -34px;
}

.notification-proof.notification:before { background: linear-gradient(to top, transparent, var(--critical-rgba)) }
.notification-proof .notification-loader { background-color: var(--critical-rgba) }

.notification-logo {
	align-self: center;
    text-align: middle;
    grid-row: 1 / 4;
	width: 100px;
}

.notification-title {
	color:#ffe900;
	font-weight: bold;
	letter-spacing: 2px;
    /* float:right; */
	line-height: 1.3em;
    font-size: 1rem;
}
.notification-time {
	color:#E0DEDE;
	letter-spacing: 1px;
    /* float:right; */
    font-size:0.8em;
	line-height: 1.3em;
}

.notification-text {
	width: 100%;
	color: white;
	letter-spacing: 1px;
	margin: 0;
	line-height: 1.3em;
	font-size: 1rem;
}
.notification-text a {
	text-decoration: underline;
	color: white;
}
.notification-text i {
	font-size: 20px;
}