.remove {
    transition-duration: 1s;
    transition: opacity 1s ease-in-out;
    opacity: 0;
}
.animation{
    animation: 1s fromTop forwards;
}
.animation>*{
    animation: 1s display forwards;
}
@media only screen and (min-width: 401px) {
    @keyframes fromTop {
        0% {
            max-height: 0px;
        }
        100% {
            max-height: 500px;
        }
    }
    @keyframes display {
        0% {
            visibility: hidden;
            opacity: 0;
        }
        50% {
            visibility: hidden;
            opacity: 0;
        }
        60% {
            visibility: visible;
            opacity: 1;
        }
    }
}


#kh-notification-box {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 340px;
    z-index: 1000000;
}
.kh-notification-inner-box {
    margin-top: 5px;
    margin-bottom: 5px;
    background-color: white;
    border: 2px solid black;
    height: auto;
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    z-index: 1000000;
}
.kh-notification-text{
    margin: 15px;
    font-size: 16px !important;
    color: black;
    overflow: hidden;
}
@media only screen and (max-width: 400px) {
    #kh-notification-box {
        position: fixed;
        top:unset;
        bottom: 0px;
        width: 100%;
        max-height: 90px;
        overflow: hidden;
        z-index: 1000000;
    }
    @keyframes fromTop {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }
    .kh-notification-inner-box {
        margin-top: 5px;
        margin-bottom: 5px;
        background-color: white;
        border: 2px solid #B71C1C;
        overflow: hidden;
        max-height: 90px;
        width: 99%;
    }
    .kh-notification-text{
        display: inline-block;
        margin: 15px;
        overflow: hidden;
    }
}

.kh-notification-error {
    border-color: #B71C1C;
    color: #B71C1C;
}
.kh-notification-success {
    border-color: #6bbc34;
    color: #6bbc34;
}