@import url(https://fonts.googleapis.com/css?family=Roboto:400,500);

.mdtoast {
    position: fixed;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: row;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    left: 24px;
    bottom: 24px;
    padding: 0 24px;
    color: #fff;
    font-family: Roboto, sans-serif;
    font-size: 16px;
    text-align: left;
    outline: 0;
    pointer-events: auto;
    touch-action: auto;
    -ms-user-select: none;
    user-select: none;
    background-color: #323232;
    transform: translateY(0);
    transition: transform .23s 0s cubic-bezier(0, 0, .2, 1), -webkit-transform .23s 0s cubic-bezier(0, 0, .2, 1);
    will-change: transform;
    z-index: 100002
}

.mdtoast.mdt--load {
    transform: translateY(200%);
    transition: transform .23s 0s cubic-bezier(.4, 0, 1, 1), -webkit-transform .23s 0s cubic-bezier(.4, 0, 1, 1)
}

.mdtoast.mdt--interactive {
    padding-right: 16px
}

.mdtoast.mdt--info {
    background-color: #1565c0
}

.mdtoast.mdt--error {
    background-color: #e53935
}

.mdtoast.mdt--warning {
    background-color: #ef6c00
}

.mdtoast.mdt--success {
    background-color: #2e7d32
}

.mdtoast .mdt-message {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    min-height: 48px;
    padding: 8px 0;
    opacity: 1;
    margin-left: 0;
    box-sizing: border-box;
    transition: opacity .3s 0s cubic-bezier(.4, 0, 1, 1)
}

.mdtoast.mdt--load .mdt-message {
    opacity: 0
}

.mdtoast.mdt--interactive .mdt-message {
    margin-right: auto
}

.mdtoast .mdt-action {
    display: flex;
    align-items: center;
    color: #ffeb3b;
    text-decoration: none;
    cursor: pointer;
    letter-spacing: .07em;
    font-weight: 500;
    padding: 8px;
    margin: 0 0 0 24px;
    opacity: 1;
    min-height: 32px;
    background: 0 0;
    border: none;
    outline: 0;
    box-sizing: border-box;
    border-radius: 4px;
    transition: opacity .3s 0s cubic-bezier(.4, 0, 1, 1), background-color .15s linear
}

.mdtoast.mdt--load .mdt-action {
    opacity: 0
}

.mdtoast .mdt-action:focus,
.mdtoast .mdt-action:hover {
    background-color: #3e3e3e
}

.mdtoast .mdt-action:active {
    background-color: #4e4e4e
}

.mdt--info .mdt-action:focus,
.mdt--info .mdt-action:hover {
    background-color: #1976d2
}

.mdt--info .mdt-action:active {
    background-color: #1e88e5
}

.mdt--error .mdt-action:focus,
.mdt--error .mdt-action:hover {
    background-color: #f44336
}

.mdt--error .mdt-action:active {
    background-color: #ef5350
}

.mdt--warning .mdt-action:focus,
.mdt--warning .mdt-action:hover {
    background-color: #f57c00
}

.mdt--warning .mdt-action:active {
    background-color: #fb8c00
}

.mdt--success .mdt-action:focus,
.mdt--success .mdt-action:hover {
    background-color: #388e3c
}

.mdt--success .mdt-action:active {
    background-color: #43a047
}

body.mdtoast--modal {
    pointer-events: none;
    touch-action: none;
    -ms-user-select: none;
    user-select: none
}

@media (min-width:600px) {
    .mdtoast {
        min-width: 288px;
        max-width: 568px;
        border-radius: 4px
    }
}

@media (max-width:599px) {
    .mdtoast {
        left: 0;
        bottom: 0;
        right: 0;
        font-size: 14px;
        max-width: 100%;
        transform: translateY(0)
    }

    .mdtoast.mdt--load {
        transform: translateY(100%)
    }
}