﻿.alert {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4000;
    display: none;
}

.alert-close {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: rgba(0, 0, 0, 0.3);
}

.alert-body {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 2;
    overflow: hidden;
    border-radius: 20px;
    width: 95%;
    min-width: 200px;
    max-width: 400px;
    text-align: center;
}

.alert-body2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 2;
    overflow: hidden;
    border-radius: 20px;
    width: 95%;
    min-width: 450px;
    max-width: 70%;
    text-align: center;
}

.alert-text {
    padding: 30px;
    background: #eee;
}

.alert-title {
    position: relative;
    padding: 0 30px;
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 30px;
}

.alert-committed:before {
    content: "\f058";
    font-family: FontAwesome;
    font-size: 2em;
    color: #5e9e2a;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.alert-attention:before {
    content: "\f071";
    font-family: FontAwesome;
    font-size: 2em;
    color: #ff9c00;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.alert-error:before {
    content: "\f06a";
    font-family: FontAwesome;
    font-size: 2em;
    color: #f00;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.alert-button {
    padding: 20px;
    background: #ddd;
}

    .alert-button button {
        padding: 5px 20px;
        margin: 0 auto;
    }