.text_box1 {
    justify-content: center;
    height: 100%;
    display: flex;
    flex-direction: column
}

.heading_toast {
    margin: 0px;
    font-weight: bold;
    font-size: 18px
}

.toast_con {
    height: 60px
}

.toast_info {
    background-color: #bae7fc
}

.toast_warn {
    background-color: #ffeeba
}

.toast_alert,
.toast_error {
    background-color: #ffd2d6
}

.toast_success {
    background-color: #cde8ce
}

#ujx_toast .toast_info #img {
    background-color: #219cd3;
    color: #fff
}

#ujx_toast .toast_warn #img {
    background-color: #dcac1a;
    color: #fff
}

#ujx_toast .toast_alert #img,
#ujx_toast .toast_error #img {
    background-color: #e81a2e;
    color: #fff
}

#ujx_toast .toast_success #img {
    background-color: #569e58;
    color: #fff
}

#ujx_toast {
    visibility: hidden;
    max-width: 50px;
    border-radius: 2px;
    position: fixed;
    left: auto;
    right: 0;
    bottom: 10px;
    font-size: 13px;
    white-space: nowrap;
    z-index: 9999;
    margin-right: 2px
}

#ujx_toast #img {
    width: 50px;
    height: 60px;
    float: left;
    box-sizing: border-box;
    text-align: center;
    line-height: 60px;
    font-size: 30px;
    margin-right: 10px;
    z-index: 9999
}

#ujx_toast #desc {
    color: #385c39;
    overflow: hidden;
    white-space: nowrap
}

#ujx_toast.ujx_show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, expand 0.5s 0.5s, stay 3s 1s, shrink 0.5s 2s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, expand 0.5s 0.5s, stay 3s 1s, shrink 0.5s 4s, fadeout 0.5s 4.5s
}

@-webkit-keyframes fadein {
    from {
        bottom: 10px;
        opacity: 0
    }

    to {
        bottom: 10px;
        opacity: 1
    }
}

@keyframes fadein {
    from {
        bottom: 10px;
        opacity: 0
    }

    to {
        bottom: 10px;
        opacity: 1
    }
}

@-webkit-keyframes expand {
    from {
        min-width: 50px
    }

    to {
        min-width: 350px
    }
}

@keyframes expand {
    from {
        min-width: 50px
    }

    to {
        min-width: 350px
    }
}

@-webkit-keyframes stay {
    from {
        min-width: 350px
    }

    to {
        min-width: 350px
    }
}

@keyframes stay {
    from {
        min-width: 350px
    }

    to {
        min-width: 350px
    }
}

@-webkit-keyframes shrink {
    from {
        min-width: 350px
    }

    to {
        min-width: 50px
    }
}

@keyframes shrink {
    from {
        min-width: 350px
    }

    to {
        min-width: 50px
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 10px;
        opacity: 1
    }

    to {
        bottom: 10px;
        opacity: 0
    }
}

@keyframes fadeout {
    from {
        bottom: 10px;
        opacity: 1
    }

    to {
        bottom: 10px;
        opacity: 0
    }
}

/* theme css */

#ujx_toast:has(.toast_design2) {
    max-width: 0;
}

#ujx_toast:has(.toast_design3) {
    max-width: 0;
}

/* design1  */
.toast_design1 {
    background-color: #f1f9f4;
    border: 1px solid #56b37d;
    border-radius: 10px;
    color: #5c625e;
    display: flex;
    align-items: center;
    justify-content: start;
    padding: 10px;
}

.toast_design1.toast_success {
    background-color: #f1f9f4;
    border: 1px solid #56b37d;
}

.toast_design1.toast_warn {
    background-color: #f7ecc7;
    border: 1px solid #f7ecc7;
}

.toast_design1.toast_info {
    background-color: #e8eef9;
    border: 1px solid #5c87c9;
}

.toast_design1.toast_error {
    background-color: #f9e8e8;
    border: 1px solid #c95c5c;
}

.toast_design1.toast_alert {
    background-color: #f9e8e8;
    border: 1px solid #c95c5c;
}

.toast_design1.toast_warn {
    background-color: #f7ecc7;
    border: 1px solid #f7cb38;
}

#ujx_toast .toast_design1.toast_warn #img {

    background-color: #f7cb38;
    line-height: 35px;
    font-size: 20px;
    width: 40px;
    height: 40px;

}



#ujx_toast .toast_design1.toast_error #img {
    line-height: 35px;
    font-size: 20px;
    background-color: #ea4c4c;
}

#ujx_toast .toast_design1.toast_alert #img {
    line-height: 35px;
    font-size: 20px;
    background-color: #ea4c4c;
}


#ujx_toast .toast_design1.toast_info #img {
    background-color: #4c81ea;
}

#ujx_toast .toast_design1 #img {
    background-color: #2fe074;
    font-size: 26px;
    line-height: 39px;
    color: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
}




/* design2  */

.toast_design2 {
    position: relative;
    background-color: #ffffff;
    border: 1px solid #c95c5c;
    border-radius: 10px;
    color: #65605f;
    display: flex;
    align-items: center;
    justify-content: start;
    padding: 10px;
    overflow: hidden;

}

.toast_design2 #desc {
    z-index: 2;
    position: relative;
}


.ujx_show .toast_design2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 105%;
    z-index: 1;
    background-color: rgba(214, 69, 80, 0.1);
    border-radius: 10px;
    clip-path: polygon(0 0, 100% 0, 95% 100%, 0 100%);
    animation-name: progressBar;
    animation-duration: 10s;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
    opacity: 0.8;
}

@keyframes progressBar {
    0% {
        left: 0;
    }

    100% {
        left: -105%;
    }
}

.ujx_show .toast_design2.toast_success::before {
    background-color: rgba(81, 140, 76, 0.1);
}

.ujx_show .toast_design2.toast_warn::before {
    background-color: rgba(223, 216, 103, 0.36);
}

.ujx_show .toast_design2.toast_info::before {
    background-color: rgba(158, 202, 232, 0.36);
}

.ujx_show .toast_design2.toast_error::before {
    background-color: rgba(199, 131, 123, 0.1);
}

.ujx_show .toast_design2.toast_alert::before {
    background-color: rgba(199, 131, 123, 0.1);
}

.ujx_show .toast_design2.toast_success {
    background-color: #f1f9f4;
    border: 1px solid #56b37d;
}

.ujx_show .toast_design2.toast_warn {
    background-color: #f7ecc7;
    border: 1px solid #f7ecc7;
}

.ujx_show .toast_design2.toast_info {
    background-color: #e8eef9;
    border: 1px solid #5c87c9;
}

.ujx_show .toast_design2.toast_error {
    background-color: #f9e8e8;
    border: 1px solid #c95c5c;
}

.ujx_show .toast_design2.toast_alert {
    background-color: #f9e8e8;
    border: 1px solid #c95c5c;
}

.ujx_show .toast_design2.toast_warn {
    background-color: #f7ecc7;
    border: 1px solid #f7cb38;
}

#ujx_toast .toast_design2.toast_warn #img {
    background-color: #f7cb38;
    line-height: 35px;
    font-size: 20px;
    width: 40px;
    height: 40px;
}



#ujx_toast .toast_design2.toast_error #img {
    line-height: 35px;
    font-size: 20px;
    background-color: #ea4c4c;
}

#ujx_toast .toast_design2.toast_alert #img {
    line-height: 35px;
    font-size: 20px;
    background-color: #ea4c4c;
}


#ujx_toast .toast_design2.toast_info #img {
    background-color: #4c81ea;
}

#ujx_toast .toast_design2 #img {
    background-color: #2fe074;
    font-size: 26px;
    line-height: 39px;
    color: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

/*design 2 */
/*design  3  */
#ujx_toast .toast_design3 {
    position: relative;
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 10px;

    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #d4edda;
    background-image: linear-gradient(315deg, #ffffff 0%, #5dff9c 74%);
    border: 1px solid #c3e6cb;


    color: #155724;
    max-width: 350px;
    font-family: Arial, sans-serif;
}




#ujx_toast .toast_design3::after {
    content: "\00d7";
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 20px;
    color: #155724;
    cursor: pointer;
    user-select: none;
    line-height: 1;
}

#ujx_toast .toast_design3::after:hover {
    color: #0b2e13;
}

#ujx_toast .toast_design3 #img {

    background-color: #2fe074;
    font-size: 26px;
    line-height: 39px;
    color: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

#ujx_toast .toast_design3.toast_success {
    background-color: #f1f9f4;
    border: 1px solid #56b37d;
}

#ujx_toast .toast_design3.toast_info #img {
    background-color: #4c81ea;
}

#ujx_toast .toast_design3.toast_info {
    background-color: #e8eef9;
    background-image: linear-gradient(315deg, #ffffff 0%, #b8d0ff 74%);
    border: 1px solid #5c87c9;
}

#ujx_toast .toast_design3.toast_error {
    background-color: #f9e8e8;
    border: 1px solid #c95c5c;
    background-image: linear-gradient(315deg, #ffffff 0%, #ffb5b5 74%);
}

#ujx_toast .toast_design3.toast_warn {
    background-color: #f7ecc7;
    border: 1px solid #f7cb38;
    background-image: linear-gradient(315deg, #ffffff 0%, #f1e0a6 74%);
}


#ujx_toast .toast_design3.toast_alert {
    background-color: #f9e8e8;
    border: 1px solid #c95c5c;
}



#ujx_toast .toast_design3.toast_alert #img {
    background-color: #c95c5c;
}


#ujx_toast .toast_design3.toast_warn {
    background-color: #f7ecc7;
    border: 1px solid #f7cb38;
}

#ujx_toast .toast_design3.toast_warn #img {
    background-color: #f7cb38;
    line-height: 35px;
    font-size: 20px;
    width: 40px;
    height: 40px;
}



::ng-deep #ujx_toast .toast_design3.toast_alert #img {
    line-height: 40px;
    font-size: 20px;
    background-color: #ea4c4c;
}

#ujx_toast .toast_design3.toast_error {
    background-color: #f9e8e8;
    border: 1px solid #c95c5c;
    background-image: linear-gradient(315deg, #ffffff 0%, #ffb5b5 74%);
}

#ujx_toast .toast_design3.toast_warn {
    background-color: #f7ecc7;
    border: 1px solid #f7cb38;
    background-image: linear-gradient(315deg, #ffffff 0%, #f1e0a6 74%);
}

#ujx_toast .toast_design3.toast_warn #img {
    background-color: #f7cb38;
    line-height: 40px;
    font-size: 20px;
    width: 40px;
    height: 40px;
}



#ujx_toast .toast_design3.toast_error #img {
    line-height: 40px;
    font-size: 20px;
    background-color: #ea4c4c;
}


#ujx_toast .toast_design3.toast_info #img {
    background-color: #4c81ea;
}


/* Top Bottom Animation Added by Sejal Start CSS 22-08-25 */
#ujx_toast.animation-top-bottom {
    margin: 0 !important;
    bottom: auto !important;
    right: 20px !important;
    top: 0px !important;
    min-width: 350px !important;
    transition: 0.8s linear;
    opacity: 0 !important;
    visibility: hidden !important;
}

#ujx_toast.animation-top-bottom.ujx_show {
    opacity: 1 !important;
    top: calc(100% - 90px) !important;
    visibility: visible !important;
}

#ujx_toast.animation-top-bottom.ujx_hide {
    top: calc(100% - 90px) !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Top Bottom Animation Added by Sejal end CSS 22-08-25 */