.toast-title {
    font-weight: bold;
}

.toast-message {
    -ms-word-wrap: break-word;
    word-wrap: break-word;
    font-size:0.9rem;
}

    .toast-message a,
    .toast-message label {
        color: #ffffff;
    }

        .toast-message a:hover {
            color: #cccccc;
            text-decoration: none;
        }

.toast-close-button {
    position: relative;
    float: right;
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    opacity: 0.8;
    margin-left: -5px;
    margin-top: 7px;
    margin-right: 10px;
    line-height: 15px;
}

    .toast-close-button:hover,
    .toast-close-button:focus {
        color: #000000;
        text-decoration: none;
        cursor: pointer;
        opacity: 0.4;
        -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=40);
        filter: alpha(opacity=40);
    }
/*Additional properties for button version
 iOS requires the button element instead of an anchor tag.
 If you want the anchor version, it requires `href="#"`.*/
button.toast-close-button {
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: 0;
    -webkit-appearance: none;
}

.toast-top-center {
    top: 0;
    right: 0;
    width: 100%;
}

.toast-bottom-center {
    bottom: 0;
    right: 0;
    width: 100%;
}

.toast-top-full-width {
    top: 0;
    right: 0;
    width: 100%;
}

.toast-bottom-full-width {
    bottom: 0;
    right: 0;
    width: 100%;
}

.toast-top-left {
    top: 12px;
    left: 12px;
}

.toast-top-right {
    top: 0;
    right: 0;
    width: 100%;
    padding: 20px;
}

.toast-bottom-right {
    right: 12px;
    bottom: 12px;
}

.toast-bottom-left {
    bottom: 12px;
    left: 12px;
}

#toast-container {
    position: fixed;
    z-index: 999999;
    pointer-events: none;
    /*overrides*/
}

    #toast-container * {
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

    #toast-container > div {
        direction: rtl;
        text-align: right;
        position: relative;
        pointer-events: auto;
        overflow: hidden;
        margin: auto;
        margin-bottom: 6px;
        padding: 21px 20px;
        padding-right: 70px;
        width: 300px;
        max-width: 90%;
        border-radius: 12px;
        background-position: calc(100% - 12px) center;
        background-repeat: no-repeat;
        background-size: 43px;
        box-shadow: 0 2px 8px 0px #0000002e;
        color: #ffffff;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        flex-direction: row-reverse;
    }

    #toast-container > :hover {
        -moz-box-shadow: 0 0 12px #a3a1a1;
        -webkit-box-shadow: 0 0 12px #a3a1a1;
        box-shadow: 0 0 12px #a3a1a1;
        opacity: 1;
        -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
        filter: alpha(opacity=100);
        cursor: pointer;
    }

    #toast-container > .toast-info {
        background-image: url("icon/Toast_Info.png") !important;
    }

    #toast-container > .toast-error {
        background-image: url("icon/Toast_Error.png") !important;
    }

    #toast-container > .toast-success {
        background-image: url("icon/Toast_Success.png") !important;
    }

    #toast-container > .toast-warning {
        background-image: url("icon/Toast_Warning.png") !important;
    }

    #toast-container.toast-top-center > div,
    #toast-container.toast-bottom-center > div {
        width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    #toast-container.toast-top-full-width > div,
    #toast-container.toast-bottom-full-width > div {
        width: 96%;
        margin-left: auto;
        margin-right: auto;
    }

.toast-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    background-color: #000000;
    opacity: 0.4;
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=40);
    filter: alpha(opacity=40);
}
/*Responsive Design*/
@media all and (max-width: 240px) {
    #toast-container > div {
        padding: 8px 8px 8px 50px;
        width: 11em;
    }
}




.dark #toast-container > div {
    background-color: #2f3032;
}

.toast-success {
    background-color: #6fcf97 !important;
}

.toast-error {
    background-color: #eb5757 !important;
}

.toast-info {
    background-color: #2f80ed !important;
}

.toast-warning {
    background-color: #f2c94c !important;
}
