/* New Aleart bar */


.SnackbarNewIcon {
    width: 50px;
    height: 50px;
    border: 3px solid gray;
    border-radius: 50%;
    margin-right: 6px;
    padding: 0;
    position: relative;
    box-sizing: content-box;
    transform: scale(0.7);
}

.SnackbarNewIcon.error {
    border-color: #f27474;
}

.SnackbarNewIcon.error .x-mark {
    position: relative;
    display: block;
}

.SnackbarNewIcon.error .errorLine {
    position: absolute;
    height: 3px;
    width: 30px;
    background-color: #f27474;
    display: block;
    top: 23px;
    border-radius: 1px;
}

.SnackbarNewIcon.error .errorLine.left {
    position: absolute;
    /* transition: all 0.7s ease-in-out; */
    left: 10px;
    animation: errorAnimationLeft 0.7s ease-in-out forwards;
    /* forwards ensures it stays at 45deg */
}

.SnackbarNewIcon.error .errorLine.right {
    position: absolute;
    /* transition: all 0.7s ease-in-out; */
    right: 10px;
    animation: errorAnimationRight 0.7s ease-in-out forwards;
    /* forwards ensures it stays at -45deg */
}

@keyframes errorAnimationLeft {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(45deg);
    }
}

@keyframes errorAnimationRight {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-45deg);
    }
}

.SnackbarNewIcon.warning {
    border-color: #f8bb86;
    overflow: hidden;
}

.SnackbarNewIcon.warning .body {
    position: absolute;
    width: 3px;
    height: 22px;
    left: 50%;
    top: 10px;
    border-radius: 1px;
    margin-left: -1.5px;
    background-color: #f8bb86;
    animation: warningbody .7s ease-in-out forwards;
}

.SnackbarNewIcon.warning .dot {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    margin-left: -2px;
    left: 50%;
    bottom: 10px;
    background-color: #f8bb86;
    animation: warningdot .7s ease-in-out forwards;
    transition: all ease-in-out .7s;
}

@keyframes warningbody {
    0% {
        top: -20px;
    }

    100% {
        top: 10px;
    }
}

@keyframes warningdot {
    0% {
        bottom: 30px;
    }

    100% {
        left: 49.7%;
        bottom: 10px;
    }
}

.SnackbarNewIcon.info {
    border-color: #c9dae1;
    overflow: hidden;
}

.SnackbarNewIcon.info::before {
    content: "";
    position: absolute;
    width: 3px;
    height: 18px;
    left: 50%;
    bottom: 10px;
    border-radius: 1px;
    margin-left: -1.5px;
    background-color: #c9dae1;
    animation: infobody .7s ease-in-out forwards;
}

.SnackbarNewIcon.info::after {
    content: "";
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    margin-left: -2px;
    top: 11px;
    background-color: #c9dae1;
    animation: infodot .7s ease-in-out forwards;
    left: 50%;
}

@keyframes infobody {
    0% {
        bottom: -20px;
    }

    100% {
        bottom: 10px;
    }
}

@keyframes infodot {
    0% {
        top: 40px;
    }

    100% {
        left: 49.7%;
        top: 11px;
    }
}

.SnackbarNewIcon.success {
    border-color: green;
}

.SnackbarNewIcon.success .placeholder {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(165, 220, 134, 0.2);
    border-radius: 50%;
    box-sizing: content-box;
    position: absolute;
    left: -3px;
    top: -3px;
    z-index: 2;
}

.SnackbarNewIcon.success .successLine {
    height: 3px;
    background-color: green;
    display: block;
    border-radius: 1px;
    position: absolute;
    z-index: 2;
}

.SnackbarNewIcon.success .successLine.tip {
    width: 15px;
    left: 8px;
    top: 28px;
    transform: rotate(45deg);
}

.SnackbarNewIcon.success .successLine.long {
    width: 30px;
    right: 5px;
    top: 23px;
    transform: rotate(-45deg);
}

@keyframes animateSuccessTip {

    0%,
    54% {
        width: 0;
        left: 1px;
        top: 12px;
    }

    70% {
        width: 30px;
        left: -5px;
        top: 23px;
    }

    84% {
        width: 10px;
        left: 12px;
        top: 28px;
    }

    100% {
        width: 15px;
        left: 8px;
        top: 28px;
    }
}

@keyframes animateSuccessLong {

    0%,
    65% {
        width: 0;
        right: 28px;
        top: 33px;
    }

    84% {
        width: 33px;
        right: 0;
        top: 22px;
    }

    100% {
        width: 30px;
        right: 5px;
        top: 23px;
    }
}

.animateSuccessTip {
    animation: animateSuccessTip 0.75s;
}

.animateSuccessLong {
    animation: animateSuccessLong 0.75s;
}

@keyframes rotatePlaceholder {

    0%,
    5% {
        transform: rotate(-45deg);
    }

    100%,
    12% {
        transform: rotate(-405deg);
    }
}


.SnackbarNewIcon.success.animate::after {
    animation: rotatePlaceholder 4.25s ease-in;
}

.SnackbarNew {
    visibility: hidden;
    min-width: fit-content;
    background-color: #000;
    box-shadow: 0px 0px 3px #000;
    text-align: left;
    border-radius: 8px;
    padding: 5px 10px 5px 0px;
    position: fixed;
    bottom: 30px;
    left: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translate(-50%, 30px) scale(0.9);
    transition: opacity 0.5s, transform 0.5s;
}

#SnackbarNewMessage {
    color: #FFF !important;
}

.SnackbarNew.show {
    z-index: 9999;
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
}

@keyframes snackbarOut {
    0% {
        opacity: 1;
        transform: translate(-50%, 0) scale(1);
    }

    25% {
        opacity: 0.8;
        transform: translate(-50%, 10px) scale(0.97);
    }

    50% {
        opacity: 0.6;
        transform: translate(-50%, 20px) scale(0.94);
    }

    75% {
        opacity: 0.3;
        transform: translate(-50%, 25px) scale(0.92);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, 30px) scale(0.9);
    }
}

.SnackbarNew.hide {
    animation: snackbarOut 0.2s ease-in forwards;
    z-index: 9999;
    visibility: visible;
}


#btn_spinner {
    position: static !important;
    animation: rotate 1s infinite linear;
    display: none;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }

}