
#toast
{
    position: fixed;
    z-index: 10000;
    top: 0;
    width: 100%;
    left: 0;
}

#toast .toast
{
    min-height: 75px;
    background: none;
    text-shadow: none;
    font-size: 0;
    vertical-align: top;
}

#toast .toast .toast-icon-reveal
{
    display: inline-block;
    width: 75px;
    min-height: 75px;
    overflow: hidden;
}

#toast .toast .toast-icon-background
{
    position: relative;
    left: 75px;
}

#toast .toast .toast-icon
{
    display: inline-block;
    width: 75px;
    min-height: 75px;
    background: #00000025;
    vertical-align: middle;
    text-align: center;
    text-shadow: 0 2px 2px #00000025;
}

#toast .toast .material-icons
{
    width: auto;
    height: auto;
    font-size: 36px;
    vertical-align: center;
    position: relative;
    top: 18px;
}

#toast .toast .toast-text
{
    display: inline-block;
    width: calc(100% - 75px);
    min-height: 75px;
    padding: 12px 20px;
    vertical-align: top;
    opacity: 0;

    font-size: small;
    line-height: 1.8;
    font-family: 'Segoe UI', 'Arial';
    box-sizing: border-box;
}

#toast .toast .toast-text b
{
    display: block;
    letter-spacing: .05em;
    text-transform: uppercase;
}











#toast .toast[type="info"] .toast-icon-background,
#toast .toast[type="info"] .toast-text
{
    background: #2196f3;
    color: #ffffff;
}
#toast .toast[type="success"] .toast-icon-background,
#toast .toast[type="success"] .toast-text
{
    background: #8bc349;
    color: #ffffff;
}
#toast .toast[type="warning"] .toast-icon-background,
#toast .toast[type="warning"] .toast-text
{
    background: #ffc107;
    color: rgba(255,255,255, .9);
}
#toast .toast[type="danger"] .toast-icon-background,
#toast .toast[type="danger"] .toast-text,
#toast .toast[type="error"] .toast-icon-background,
#toast .toast[type="error"] .toast-text
{
    background: #cc0000;
    color: #ffffff;
}

#toast .toast[type="custom"] .toast-icon-background,
#toast .toast[type="custom"] .toast-text
{
    background: var(--background);
    color: #ffffff;
}



#toast .toast .material-icons
{
    color: #ffffff98;
    color: rgba(255,255,255, .95);
}


#toast .toast[type="success"] .material-icons:not([icon="success"]),
#toast .toast[type="info"] .material-icons:not([icon="info"]),
#toast .toast[type="warning"] .material-icons:not([icon="warning"]),
#toast .toast[type="danger"] .material-icons:not([icon="error"]),
#toast .toast[type="error"] .material-icons:not([icon="error"]),
#toast .toast[type="custom"] .material-icons:not([icon="custom"])
{
    display: none;
}








#toast .toast
{
    /*
    animation:
        killToast .5s calc(var(--delay) + 2s) linear 1 forwards;
        */
}

#toast .toast .toast-icon-background
{
    animation:
        toast_iconReveal .25s 0s ease-in 1 forwards,
        toast_iconRemove .25s var(--delay) ease-in 1 forwards;
}

#toast .toast .toast-text
{
    animation:
        fadeIn .5s .25s linear 1 forwards,
        fadeOut .5s calc(var(--delay) + .5s) linear 1 forwards;
}

@keyframes toast_iconReveal {
	0% {
        left: 75px;
	}
	100% {
        left: 0;
	}
}

@keyframes toast_iconRemove {
	0% {
        left: 0;
	}
	100% {
        left: 75px;
	}
}

@keyframes killToast {
	100% {
		height: 0;
		padding: 0;
        overflow: hidden;
	}
}
