﻿.ttt-alert-icon {
    position: relative;
    z-index: 1;
}

    .ttt-alert-icon::after, .ttt-alert-icon::before {
        opacity: 0;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        content: '';
        height: 100%;
        width: 100%;
        border-radius: 100%;
        border: 4px double rgba(255, 255, 255, 0.5);
        animation-name: ripple;
        animation-iteration-count: infinite;
        animation-timing-function: cubic-bezier(.65,0,.34,1);
        z-index: -1;
    }

    .ttt-alert-icon::after {
        animation-duration: 3s;
        animation-delay: 0s;
    }

    .ttt-alert-icon::before {
        animation-duration: 3s;
        animation-delay: 0.5s;
    }


@keyframes ripple {
    from {
        opacity: 1;
        transform: scale3d(1.2,1.2,1);
    }

    to {
        opacity: 0;
        transform: scale3d(2.2,2.2,1);
    }
}


.ttt-alert-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}


.yellow.ttt-alert-wrapper {
    background-color: #ffef7d;
}

.red.ttt-alert-wrapper {
    background-color: #AB0024;
}

.red .ttt-alert {
    color: white;
}
.red .ttt-alert-icon {
    background-color: white;
}

.green.ttt-alert-wrapper {
    background-color: #DEEEC8;
}

.green .ttt-alert-icon {
    background-color: white;
}

.ttt-alert {
    display: flex;
    justify-content: center;
    min-height: 50px;
    align-items: center;
}

    .ttt-alert h3 {
        margin-top: 0px;
        padding-top: 10px;
    }

.ttt-alert-message {
    padding: 10px;
}

    .ttt-alert-message h3 {
        margin-bottom: 0px;
    }

.ttt-alert-icon {
    width: 80px;
    border-radius: 40px;
    display: flex;
    flex-flow: initial;
    align-items: center;
    background-clip: padding-box;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
}

.yellow .ttt-alert-icon {
    border: double 8px #AB0024;
}

.red .ttt-alert-icon {
    border: double 8px #ffef7d;
}

.green .ttt-alert-icon {
    border: double 8px #58B461;
}

.yellow .ttt-alert-icon::after, .yellow .ttt-alert-icon::before {
    border-color: #AB0024;
}

.red .ttt-alert-icon::after, .red .ttt-alert-icon::before {
    border-color: #ffef7d;
}

.green .ttt-alert-icon::after, .green .ttt-alert-icon::before {
    border-color: #58B461;
}



.ttt-alert-icon img {
    max-width: 46px;
    margin: 0px auto;
    display: block;
    min-height: 43px;
    margin-bottom: 10px;
}
