  
.custom-toast {
    display: flex;
    align-items: center;
}
  
.custom-toast img {
    background-size: 50px 50px;
    height: 50px;
    width: 50px;
}
  
.custom-toast p {
    font-size: 14px;
    padding: 10px;
}
  
#custom-toasts {
    min-height: 0;
    position: fixed;
    right: 20px;
    top: 20px;
    width: 410px;
}

@media (max-width: 420px) {
    #custom-toasts {
        min-height: 0;
        position: fixed;
        right: 5px;
        top: 20px;
        width: 100%;
        left: 5px;
    }

    .alert-dismissible {
        padding: 1rem !important;
    }
}
  
#custom-toasts .toast {
    background: #d6d8d9;
    border-radius: 3px;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, .1);
    color: rgba(0,0,0, .6);
    cursor: default;
    margin-bottom: 20px;
    opacity: 0;
    position: relative;
    padding: 20px;
    transform: translateY(15%);
    transition: opacity .5s ease-in-out, transform .5s ease-in-out;
    width: 100%;
    will-change: opacity, transform;
    z-index: 1100;
} 
  
#custom-toasts .toast.success {
    background: #26d68a;
}
  
#custom-toasts .toast.warning {
    background: #ffa533;
}
  
#custom-toasts .toast.info {
    background: #2cbcff;
}
  
#custom-toasts .toast.error {
    background: #f44336;
}
  
#custom-toasts .toast.show {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .5s ease-in-out, transform .5s ease-in-out;
}
  
#custom-toasts .toast.hide {
    height: 0;
    margin: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 30px;
    transition: all .5s ease-in-out;
}
  
#custom-toasts .toast .close {
    cursor: pointer;
    font-size: 24px;
    height: 16px;
    margin-top: -10px;
    position: absolute;
    right: 14px;
    top: 50%;
    width: 16px;
}
  