.ui-toast {
    width: 60%;
    top: 20px;
    left: 20%;
    display: flex;
    align-items: center;

    p-toastItem {
        width: 100%;
        font-family: $bodyFont;
    }

    .ui-toast-message {
        width: 100%;
        margin-bottom: 0;
        box-shadow: none;
        padding: 12px 16px;
        border-radius: 3px;

        &-success {
            border: 2px solid #1DBA3C;
            background-color: #BBE6C4;

            .mc-toast-icon, .ui-toast-close-icon {
                color: #1DBA3C;
            }
        }

        &-info {
            border: 2px solid #8cd2f4;
            background-color: #d2edfb;

            .mc-toast-icon, .ui-toast-close-icon {
                color: #86d0f3;
            }
        }

        &-warn {
            border: 2px solid #fbab4c;
            background-color: #ffdeb5;

            .mc-toast-icon, .ui-toast-close-icon {
                color: #fbab4c;
            }
        }

        &-error {
            border: 2px solid #de1516;
            background-color: #ffdad9;

            .mc-toast-icon, .ui-toast-close-icon {
                color: #de1516;
            }
        }


        &-content {
            padding: 0 !important;
        }

        .mc-toast-icon {
            height: 32px;
            width: 32px;
            background-color: #FFFFFF;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
        }

        .mc-toast-msg {
            display: flex;
            align-items: center;

            .mc-toast-content {
                margin-left: 16px;
                color: $darkColor;
                font-size: 15px;
            }
        }

        .ui-toast-close-icon {
            font-size: 24px;
            top: 14px;
            right: 17px;
            font-weight: bold;
        }
    }
}



@media only screen and (max-width: 768px) {
    .ui-toast {
        width: 90%;
        top: 10px;
        left: 5%;

        &-message {
            width: 100%;
            padding: 10px 14px 10px 8px !important;
        }

        &-close-icon {
            right: 6px !important;
        }
    }
}
