﻿.toast-message {
    width: 100% !important;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
    margin: 0px 0px 0px -5px !important;
    line-height: 1.7 !important;
    color: #6e84a3 !important;
}

    .toast-message a,
    .toast-message label {
        color: #FFFFFF;
    }

        .toast-message a:hover {
            color: #CCCCCC;
            text-decoration: none;
        }


/* toast background */
.toast.toast-error {
    background-color: #fd6c6c;
}

.toast.toast-error:before {
    background-color: #fd6c6c;
}

.toast.toast-info {
    background-color: #3a99f4;
}

.toast.toast-info:before {
    background-color: #3a99f4;
}


.toast.toast-success {
    background-color: #1abc9c;
}

.toast.toast-success:before {
    background-color: #1abc9c;
}

.toast.toast-warning {
    background-color: #e8bd38;
}

.toast.toast-warning:before {
    background-color: #e8bd38;
}

/* \/toast background */
.toast-success .toast-close-button {
    color: rgba(142, 172, 142, 0.43) !important
}

.toast-info .toast-close-button {
    color: rgba(148, 186, 204, 0.71) !important
}

.toast-warning .toast-close-button {
    color: rgba(219, 200, 165, 0.85) !important
}

.toast-error .toast-close-button {
    color: rgba(182, 20, 20, 0.28) !important
}

#toast-container > .toast {
    background-image: none !important;
    max-width: none;
}

.toast-close-button {
    position: absolute;
    left: 9px;
    top: 6px;
    display: flex;
    align-items: center;
    float: right;
    font-size: 20px;
    font-weight: bold;
    color: #FFFFFF;
    text-shadow: 0 1px 0 #ffffff;
    opacity: 0.8;
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
    filter: alpha(opacity=80);
    line-height: 1;
}

    .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);
    }

.rtl .toast-close-button {
    left: -0.3em;
    float: left;
    right: 0.3em;
}

button.toast-close-button {
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: 0;
    -webkit-appearance: none;
}

.toast-top-center {
    top: 12px;
    left: 50%;
    transform: translate(-50%, 0%);
}

.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: 12px;
    right: 12px;
}

.toast-bottom-right {
    right: 12px;
    bottom: 12px;
}

.toast-bottom-left {
    bottom: 12px;
    left: 12px;
}

#toast-container, .custom-alert {
    position: fixed;
    z-index: 999999;
    pointer-events: none;
    /*overrides*/
}

    #toast-container *, .custom-alert {
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

        #toast-container > div, .custom-alert > div {
            margin-top: 10px !important;
            position: relative;
            pointer-events: auto;
            overflow: hidden;
            margin: 0 0 6px;
            padding: 0px !important;
            /*width: 500px;*/
            -moz-border-radius: .5rem;
            -webkit-border-radius: .5rem;
            border-radius: .5rem;
            background-position: 15px center;
            background-repeat: no-repeat;
            color: #FFFFFF;
            -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
            filter: alpha(opacity=80);
        }

            #toast-container > div.rtl {
                direction: rtl;
                padding: 0px;
                background-position: right 15px center;
            }


    #toast-container.toast-top-center > div,
    #toast-container.toast-bottom-center > div {
        /*width: 500px;*/
        margin-left: auto;
        margin-right: auto;
        /*width: 100%;*/
        /*max-width: 500px;*/
    }

    #toast-container.toast-top-full-width > div,
    #toast-container.toast-bottom-full-width > div {
        /*width: 96%;*/
        margin-left: auto;
        margin-right: auto;
    }

.toast {
    /*max-width: none;*/
    padding: 20px;
    background-color: #030303;
    transform: translateX(16px);
}

.toast-message {
    min-width: 250px;
    padding: 15px;
    padding-top: 25px;
    padding-bottom: 10px;
    font-size: 14px;
    background-color: white;
}

.toast-success, .toast-error, .toast-info, .toast-warning {
    background-color: #fff;
}

    .toast-success .toast-message {
        display: table;
        color: #6e84a3 !important;
    }


    .toast-error .toast-message {
        display: table;
        color: #6e84a3 !important;
    }


    .toast-info .toast-message {
        display: table;
        color: #6e84a3 !important;
    }


    .toast-warning .toast-message {
        display: table;
        color: #6e84a3 !important;
    }

.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 (max-width: 768px) {
    #toast-container > .toast {
        max-width: 90%;
    }

    #toast-container > .toast-warning:before, #toast-container > .toast-success:before, .custom-alert > .toast-warning:before, .custom-alert > .toast-success:before {
        padding: 13px 12px !important;
        font-size: 18px !important;
    }

    #toast-container > .toast-info:before, .custom-alert > .toast-info:before {
        padding: 13px 18px !important;
        font-size: 18px !important;
    }

    #toast-container > .toast-error:before, .custom-alert > .toast-error:before {
        padding: 13px 16px !important;
        font-size: 18px !important;
    }
}

@media (max-width: 600px) {
    .toast-top-center {
        top: 12px;
        right: 12px;
        left: auto;
        transform: translate(0%, 0%);
    }
}

@media (max-width: 240px) {
    #toast-container .toast-close-button, .custom-alert .toast-close-button {
        left: -0.2em;
        top: -0.2em;
    }

    #toast-container .rtl .toast-close-button {
        left: -0.2em;
        right: 0.2em;
    }
}

@media (min-width: 241px) and (max-width: 480px) {
    .toast-warning .toast-message {
        margin-top: 9px
    }

    #toast-container .toast-close-button, .custom-alert .toast-close-button {
        left: 0.4em;
        top: 0.4em;
    }

    #toast-container .rtl .toast-close-button {
        left: -0.2em;
        right: 0.2em;
    }
}


.toast {
    opacity: 1;
    display: flex;
    align-items: center;
}

#toast-container > .toast:before {
    background-color: white;
    border-radius: 100px;
    margin-left: 13px !important;
    margin-right: 13px !important;
}

#toast-container > .toast, .custom-alert > .alert {
    background-image: none !important;
    box-shadow: 0 0.75rem 1.5rem rgba(18, 38, 63, .03);
    display: flex;
    align-items: center;
    border-color: #d2ddec !important;
}

    #toast-container > .toast:before, .custom-alert > .alert:before {
        position: relative;
        font-family: "Font Awesome 5 Free";
        font-size: 20px;
        line-height: 18px;
        float: right;
        color: #FFF;
        padding-right: 0;
        margin: 0;
    }


#toast-container > .toast-warning:before, .custom-alert > .toast-warning:before {
    font-weight: 900;
    content: "\f071";
    padding: 13px 11px;
    color: #d6b95e;
    border: 1px solid #d6b95e;
    border-radius: 100px;
    font-size: 19px;
    margin-left: 13px;
}

#toast-container > .toast-error:before, .custom-alert > .toast-error:before {
    font-weight: 900;
    content: "\f00d";
    padding: 13px 15px;
    color: #de9090;
}

#toast-container > .toast-info:before, .custom-alert > .toast-info:before {
    font-weight: 900;
    content: "\f129";
    padding: 13px 18px;
    color: #3a99f4;
}

#toast-container > .toast-success:before, .custom-alert > .toast-success:before {
    font-weight: 900;
    content: "\f00c";
    padding: 15px 15px;
    color: #1abc9c;
}

#toast-container > .toast-warning:before, .custom-alert > .toast-warning:before {
    font-weight: 900;
    content: "\f071";
    padding: 17px 15px;
    color: #e8bd38;
}

/*.toast-warning .btn {
    border-color: #d9ca9a;
    transition: .7s;
    background-color: #d9ca9a;
}*/
.toast-info .btn {
    border-color: #96bfe6;
    transition: .7s;
    background-color: #96bfe6;
}

.toast-success .btn {
    border-color: #b1cdb7;
    transition: .7s;
    background-color: #b1cdb7;
}

.toast-error .btn {
    border-color: #d6b0b0;
    transition: .7s;
    background-color: #d6b0b0;
    color: white;
}

/*.toast-warning .btn:hover {
    border-color: #bfaf7c;
    transition: .7s;
    background-color: #bfaf7c;
    color: white;
}*/

.toast-info .btn:hover {
    transition: .7s;
    border-color: #72ade4;
    background-color: #72ade4;
    color: white;
}

.toast-success .btn:hover {
    border-color: #8fbf99;
    transition: .7s;
    background-color: #8fbf99;
    color: white;
}

.toast-error .btn:hover {
    border-color: #b98080;
    transition: .7s;
    background-color: #b98080;
    color: white;
}

.toast-message-content {
    padding-left: 10px;
}

.toast-action {
    border: none;
    border-radius: 5px;
    font-size: 10px;
    float: left;
    margin-top: 10px;
    margin-right: 5px;
    padding: 5px;
}
