﻿
/*alerts*/
#Alert {
    background-color: #00000061;
}

#ContentText {
    font-size: 16px;
}

#Alert.sa {
    width: 140px;
    height: 140px;
    padding: 26px;
    /*background-color: #fff;*/
    background-color: transparent;
}

.sa-warning {
    border-radius: 50%;
    border: 4px solid #f8bb86;
    box-sizing: content-box;
    height: 80px;
    padding: 0;
    position: relative;
    /*background-color: #fff;*/
    background-color: transparent;
    width: 80px;
    animation: scaleWarning 0.75s infinite alternate;
}

    .sa-warning:after, .sa-warning:before {
        /*background: #fff;*/
        background: transparent;
        content: '';
        border-radius: 50%;
        height: 100%;
        position: absolute;
    }

    .sa-warning:before {
        display: inline-block;
        opacity: 0;
        animation: pulseWarning 2s linear infinite;
    }

    .sa-warning:after {
        display: block;
        z-index: 1;
    }

.sa-warning-body {
    background-color: #f8bb86;
    border-radius: 2px;
    height: 47px;
    left: 50%;
    margin-left: -2px;
    position: absolute;
    top: 10px;
    width: 5px;
    z-index: 2;
    animation: pulseWarningIns 0.75s infinite alternate;
}

.sa-warning-dot {
    background-color: #f8bb86;
    border-radius: 50%;
    bottom: 10px;
    height: 7px;
    left: 50%;
    margin-left: -3px;
    position: absolute;
    width: 7px;
    z-index: 2;
    animation: pulseWarningIns 0.75s infinite alternate;
}

@keyframes scaleWarning {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes pulseWarning {
    0% {
        background-color: #fff;
        transform: scale(1);
        opacity: 0.5;
    }

    30% {
        background-color: #fff;
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        background-color: #f8bb86;
        transform: scale(2);
        opacity: 0;
    }
}

.sa-x-mark {
    border: 4px solid #ff5f5f;
    border-radius: 50%;
    box-sizing: content-box;
    height: 80px;
    padding: 0;
    position: relative;
    /* background-color: #fff;*/
    background-color: transparent;
    width: 80px;
}

    .sa-x-mark:after, .sa-x-mark:before {
        /*background: #fff;*/
        background: transparent;
        content: '';
        border-radius: 50%;
        height: 100%;
        position: absolute;
        width: 100%;
    }

    .sa-x-mark:before {
        display: inline-block;
        opacity: 0;
    }

    .sa-x-mark:after {
        display: block;
        z-index: 1;
    }

.sa-line.sa-left {
    background-color: #ff5f5f;
    border-radius: 2px;
    height: 60px;
    left: 50%;
    margin-left: -2px;
    position: absolute;
    top: 10px;
    width: 5px;
    z-index: 2;
    rotate: 45deg;
}

.sa-line.sa-right {
    background-color: #ff5f5f;
    border-radius: 2px;
    height: 60px;
    left: 50%;
    margin-left: -2px;
    position: absolute;
    top: 10px;
    width: 5px;
    z-index: 2;
    rotate: 135deg;
}

#Alert .sa {
    width: 100px;
    height: 100px;
    padding: 6px;
    /*background-color: #fff;*/
    background-color: transparent;
}

.sa-success {
    border-radius: 50%;
    border: 4px solid #A5DC86;
    box-sizing: content-box;
    height: 80px;
    padding: 0;
    position: relative;
    /*background-color: #fff;*/
    background-color: transparent;
    width: 80px;
}

    .sa-success:after, .sa-success:before {
        /*background: #fff;*/
        background: transparent;
        content: '';
        height: 120px;
        position: absolute;
        transform: rotate(45deg);
        width: 60px;
    }

    .sa-success:before {
        border-radius: 40px 0 0 40px;
        width: 26px;
        height: 80px;
        top: -17px;
        left: 5px;
        transform-origin: 60px 60px;
        transform: rotate(-45deg);
    }

    .sa-success:after {
        border-radius: 0 120px 120px 0;
        left: 30px;
        top: -11px;
        transform-origin: 0 60px;
        transform: rotate(-45deg);
        animation: rotatePlaceholder 4.25s ease-in;
    }

.sa-success-placeholder {
    border-radius: 50%;
    border: 4px solid rgba(165, 220, 134, 0.25);
    box-sizing: content-box;
    height: 80px;
    left: -4px;
    position: absolute;
    top: -4px;
    width: 80px;
    z-index: 2;
}

.sa-success-fix {
    /*background-color: #fff;*/
    background-color: transparent;
    height: 90px;
    left: 28px;
    position: absolute;
    top: 8px;
    transform: rotate(-45deg);
    width: 5px;
    z-index: 1;
}

.sa-success-tip, .sa-success-long {
    background-color: #A5DC86;
    border-radius: 2px;
    height: 5px;
    position: absolute;
    z-index: 2;
}

.sa-success-tip {
    left: 14px;
    top: 46px;
    transform: rotate(45deg);
    width: 25px;
    animation: animateSuccessTip 0.75s;
}

.sa-success-long {
    right: 8px;
    top: 38px;
    transform: rotate(-45deg);
    width: 47px;
    animation: animateSuccessLong 0.75s;
}

@keyframes animateSuccessTip {
    0%, 54% {
        width: 0;
        left: 1px;
        top: 19px;
    }

    70% {
        width: 50px;
        left: -8px;
        top: 37px;
    }

    84% {
        width: 17px;
        left: 21px;
        top: 48px;
    }

    100% {
        width: 25px;
        left: 14px;
        top: 45px;
    }
}

@keyframes animateSuccessLong {
    0%, 65% {
        width: 0;
        right: 46px;
        top: 54px;
    }

    84% {
        width: 55px;
        right: 0;
        top: 35px;
    }

    100% {
        width: 47px;
        right: 8px;
        top: 38px;
    }
}

@keyframes rotatePlaceholder {
    0%, 5% {
        transform: rotate(-45deg);
    }

    100%, 12% {
        transform: rotate(-405deg);
    }
}
/*alerts end*/