
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

.content-toast{
    position: fixed;
    width: 100%;
    top: 0;
    padding-top: 10px;
    z-index: 10000;
    height: 0px;
}

#wrapper_toast_ac_v2{
    left: calc(50% - 205px);
    position: absolute;
    top: 0;
    width: 410px;
}

#wrapper_toast_ac_v2 .toast-ac-v2{
    background: #fff;
    padding: 20px 15px 20px 20px;
    border-radius: 10px;
    border: none;
    border-left: 5px solid;
    box-shadow: 1px 7px 14px -5px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: inherit;
    font-family: 'Poppins', sans-serif;
}

#wrapper_toast_ac_v2 .toast-ac-v2.offline{
    border-color: #ccc;
}

#wrapper_toast_ac_v2 .toast-ac-v2 .content{
    display: flex;
    align-items: center;
    width: calc(100% - 40px);
    padding: 0px;
    flex-grow: 1;
    position: relative;
}

#wrapper_toast_ac_v2 .content .icon{
    font-size: 25px;
    color: #fff;
    height: 45px;
    width: 45px;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
}

#wrapper_toast_ac_v2 .toast-ac-v2.offline .content .icon{
    background: #ccc;
}

#wrapper_toast_ac_v2 .content .details{
    margin-left: 15px;
    width: calc(100% - 100px);
}

#wrapper_toast_ac_v2 .details span{
    font-size: 18px;
    font-weight: 500;
}

#wrapper_toast_ac_v2 .details p{
    color: #878787;
    margin: 0px;
    font-size: 13px;
    line-height: 15px;
}

#wrapper_toast_ac_v2 .toast-ac-v2 .close-icon{
    color: #878787;
    font-size: 18px;
    cursor: pointer;
    height: 40px;
    width: 40px;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    background: #f2f2f2;
    transition: all 0.3s ease;
}

#wrapper_toast_ac_v2 .close-icon:hover{
    background: #efefef;
}

.toast-success{
    border-left-color: #2ecc71 !important;
}

.toast-info{
    border-left-color: #17a2b8 !important;
}

.toast-danger,
.toast-error {
    border-left-color: #e51c23 !important;
}

.toast-success .icon{
    background: #2ecc71 !important;
}

.toast-info .icon{
    background: #17a2b8 !important;
}

.toast-danger .icon, 
.toast-error .icon{
    background: #e51c23 !important;
}

@media (max-width: 480px){
    #wrapper_toast_ac_v2{
        left: calc(50% - 150px);
        width: 300px;
    }

    #wrapper_toast_ac_v2 .toast-ac-v2{
        padding: 10px 5px 10px 10px;
    }

    #wrapper_toast_ac_v2 .content .icon{
        font-size: 15px;
        height: 35px;
        width: 35px;
        line-height: 35px;
    }

    #wrapper_toast_ac_v2 .content .details {
        width: calc(100% - 100px);
    }

    #wrapper_toast_ac_v2 .toast-ac-v2 .close-icon{
        height: 30px;
        width: 30px;
        line-height: 30px;
    }
}

@media (max-width: 360px){
    #wrapper_toast_ac_v2{
        left: calc(50% - 120px);
        width: 240px;
    }

    #wrapper_toast_ac_v2 .content .details {
        width: calc(100% - 55px);
    }

    #wrapper_toast_ac_v2 .toast-ac-v2 .close-icon{
        position: absolute;
        top: 0;
        right: 0;
        background: none;
        font-size: 15px;
    }

    #wrapper_toast_ac_v2 .toast-ac-v2 .content{
        width: 100%;
    }
}