/** Toast Notification **/
#toast {
    position: fixed;
    right: 0;
    top: 0;
    z-index: 99999;
    width: 100%;
}

@media only screen and (min-width: 768px) {
    #toast {
        top: 32px;
        right: 32px;
        width: unset;
    }
}

.toast {
    display: flex;
    align-items: center;
    background-color: #333;
    border-radius: 4px;
    padding: 20px 0;
    /* min-width: 400px;
    max-width: 450px; */
    border-left: 4px solid;
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.5);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.25, 1.35);
}

@media only screen and (min-width: 768px) {
    .toast {
        min-width: 400px;
        max-width: 450px;
    }
}

.progress-track{
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: #ddd;
}

.progress-running{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    transition: all 0.5s;
}

.progress-running.success {
    background-color: #71be34;

}

.progress-running.info {
    background-color: #2f86eb;

}

.progress-running.warning {
    background-color: #ffb702;

}

.progress-running.error {
    background-color: #ff623d;
}

.progress-running.quickserv {
    background-color: #e6a400;
}

.progress-running.commercial {
    background-color: #e60000;
}

.progress-running.cloud {
    background-color: #156cd1;
}

.toast + .toast {
    margin-top: 24px;
}

.toast-success {
    border-color: #47d864;

}
.toast-success .toast-icon {
    color: #47d864;
}

.toast-info {
    border-color: #2f86eb;
}

.toast-info .toast-icon {
    color: #2f86eb;
}

.toast-warning {
    border-color: #ffc021;
}

.toast-warning .toast-icon {
    color: #ffc021;
}

.toast-error {
    border-color: #ff623d;
}

.toast-error .toast-icon {
    color: #ff623d;
}

.toast-quickserv {
    border-color: #ffcb08;
}

.toast-commercial {
    border-color: #f44;
}

.toast-cloud {
    border-color: #2f86eb;
}

.toast-quickserv .toast-icon,
.toast-commercial .toast-icon,
.toast-cloud .toast-icon {
    color: #47d864;
}

.toast-icon {
    font-size: 24px;
}

.toast-close,
.toast-icon {
    padding: 0 16px;
}

.toast-body {
    flex-grow: 1;
}

.toast-wrap_title {
    display: flex;
    justify-content: start;
    align-items: center;
}

.toast-title {
    font-size: 16px;
    font-weight: 600;
    color: #F2F2F2;
    padding: 0;
    margin: 0;
}

.toast-web {
    margin-left: 5px;
    text-transform: capitalize;
}

.toast-msg {
    font-size: 14px;
    color: #888;
    margin: 6px 0 0 0;
    padding: 0;
    line-height: 1.5;
}

.toast-close {
    font-size: 20px;
    color: #F2F2F2;
    cursor: pointer;
}

.toast-close:hover {
    opacity: 0.8;
}

/** Animations **/

/* Progress bar animation */
@keyframes progress {
    to{
        width: 0%;
    }
}

/* Slide toast animation */

@keyframes slideInLeft {
    from {
        transform: translateX(calc(100%));
        opacity: 0;
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media only screen and (min-width: 768px) {
    @keyframes slideInLeft {
        from {
            transform: translateX(calc(100% + 32px));
            opacity: 0;
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
}

/* Fade out toast animation */
@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateX(calc(100%));

    }
}

@media only screen and (min-width: 768px) {
    @keyframes fadeOut {
        to {
            opacity: 0;
            transform: translateX(calc(100% + 32px));
    
        }
    }
}


.toast-gem_detail {
    
}

.toast-gem_detail > .img {
    display: flex;
    width: 120px;
    border-radius: 5px;
    margin: 5px 5px 5px 0;
}

.toast-gem_detail > .detail {
    display: flex;
    align-items: center;
    margin: 5px 0;
}

.toast-gem_detail > .detail > .code {
    margin-left: 5px;
}