@import url('https://fonts.googleapis.com/css?family=Roboto');

.popup__holder {
    position: fixed;
    bottom: 0;
    right: 10px;
    z-index: 99999;
    width: 300px;
    transition: bottom 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    font-family: 'Roboto', sans-serif;

}
.popup__holder:empty {
    pointer-events: none;
}
.popup__item,
.alert-message-holder {
    display: flex;
    align-items: center;
    width: 100%;
    border-radius: 3px;
    background-color: #333;
    color: white;
    visibility: hidden;
    overflow: hidden;
    position: absolute;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    height: auto;
    margin: 0;
    padding: 15px;
}
.popup__item .popup__close,
.alert-message-holder .popup__close {
    width: 20px;
    height: 20px;
    position: absolute;
    right: 15px;
    text-align: center;
}
.popup__item .popup__close:before,
.alert-message-holder .popup__close:before {
    content: "+";
    cursor: pointer;
    position: absolute;
    transform: rotate(45deg);
    font-size: 25px;
    line-height: 0.6;
    transition: font-size 250ms ease;
}
.popup__item .popup__close:hover:before,
.alert-message-holder .popup__close:hover:before {
    font-size: 28px;
}
.popup__item p,
.alert-message-holder p {
    width: 100%;
    text-align: left;
    margin: 0 30px 0 0 !important;
    font-size: 14px;
    animation: fadeInAlt 1s linear;
}
.popup__item .popup__icon,
.alert-message-holder .popup__icon {
    margin-right: 10px;
    font-size: 16px;
    animation: fadeInAlt 0.5s linear both;
}

.animIn {
    visibility: visible;
    transform-origin: center center;
    animation: fadeInToast 0.5s ease-in-out both;
}
@media (max-width: 767px) {
    .animIn {
        animation-delay: 1s;
    }
}

@keyframes fadeInAlt {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@keyframes fadeInToast {
    0% {
        opacity: 0;
        transform: translateY(100%);
    }
    10% {
        padding: 5px;
    }
    50% {
        opacity: 0;
        height: auto;
        padding: 15px;
    }
    100% {
        opacity: 1;
        height: auto;
        padding: 15px;
        transform: translateY(0);
    }
}
.animOut {
    visibility: visible;
    transform-origin: 50% 50%;
    animation: fadeOutToast 0.5s ease both;
}

@keyframes fadeOutToast {
    0% {
        opacity: 1;
        height: auto;
        margin: 0 0 15px 0;
        padding: 15px;
    }
    50% {
        opacity: 0;
        height: auto;
        margin: 0 0 15px 0;
        padding: 15px;
    }
    100% {
        opacity: 0;
        height: 0;
        margin: 0;
        padding: 0;
    }
}
