.custom-alert{
    padding: 20px 40px;
    min-width: 120px;
    max-width: 1020px;
    position: absolute;
    right: 0;
    top: 200px;
    border-radius: 4px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.custom-alert-warning-color{
    background: #ffdb9b;
    border-left: 8px solid #ffa502;
}

.custom-alert-success-color{
    background: #d5edda;
    border-left: 8px solid #2bd572;
}

.custom-alert-danger-color{
    background: #ffe1e3;
    border-left: 8px solid #fe4855;
}

.custom-alert.showAlert{
    opacity: 1;
    pointer-events: auto;
    z-index: 500;
    position: fixed;
    top: 20%;
    padding: 1rem 2.5rem;
}
.custom-alert.showAnimation{
    animation: show_slide 500ms ease forwards;
}
@keyframes show_slide {
    0%{
        transform: translateX(0%);
    }
    40%{
        transform: translateX(-10%);
    }
    80%{
        transform: translateX(0%);
    }
    100%{
        transform: translateX(-10px);
    }
}
.custom-alert.hideAnimation{
    transform: translateX(-10px);
    animation: hide_slide 500ms ease forwards;
}
@keyframes hide_slide {
    0%{
        opacity : 1;
    }
    10%{
        opacity : 0.9;
    }
    20%{
        opacity : 0.8;
    }
    30%{
        opacity : 0.7;
    }
    40%{
        opacity : 0.6;
    }
    50%{
        opacity : 0.5;
    }
    60%{
        opacity : 0.4;
    }
    70%{
        opacity : 0.3;
    }
    80%{
        opacity : 0.2;
    }
    90%{
        opacity : 0.1;
    }
    100%{
        opacity : 0;
    }
}
.custom-alert .fa-exclamation-circle{
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
}

.fa-exclamation-circle-warning-color{
    color: #ce8500;
}

.fa-exclamation-circle-success-color{
    color: #155724;
}

.fa-exclamation-circle-danger-color{
    color: #fe4859;
}

.custom-alert .msg{
    padding: 0 20px;
    font-size: 18px;
}

.custom-alert .msg-warning-color{
    color: #ce8500;
}

.custom-alert .msg-success-color{
    color: #155724;
}

.custom-alert .msg-danger-color{
    color: #e96686;
}


.custom-alert .close-btn{
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    padding: 20px 18px;
    cursor: pointer;
    font-size: 22px;
    line-height: 40px;
}

.custom-alert .close-btn-warning-color{
    color: #ce8500;
    background: #ffd080;
}

.custom-alert .close-btn-success-color{
    color: #155724;
    background: #93e9b8;
}

.custom-alert .close-btn-danger-color{
    color: #fc4551;
    background: #fb9aa2;
}

.custom-alert .close-btn-warning-color:hover{
    background: #ffc766;
}

.custom-alert .close-btn-success-color:hover{
    background: #23ac63;
}

.custom-alert .close-btn-danger-color:hover{
    background: #f97079;
}