﻿#alertBox {
    z-index: 1050;
    display: none;
    position: fixed;
    background-color: white;
    width: 50%;
    background-color: #DEDEDE;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(19,52,83,1);
    -moz-box-shadow: 0px 0px 10px 0px rgba(19,52,83,1);
    box-shadow: 0px 0px 10px 0px rgba(19,52,83,1);
    margin: 5% auto;
    left: 0;
    right: 0;
}
/*==== ======================================== fixed height */
#AlertTitle i {
    display: inline;
    line-height: 40px;
    float: left;
    vertical-align: middle;
}

#AlertTitle {
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
    height: 40px;
    position: relative;
    line-height: 40px;
    color: #fff;
    text-align: center;
}

    #AlertTitle h3 {
        color: #fff !important;
        font-size: 2.1em;
        vertical-align: middle;
        line-height: 40px;
        margin: 0;
    }

.Success #AlertTitle {
    background-color: #259E49;
}

.Warning #AlertTitle {
    background-color: #E2BD00;
    color: rgb(152, 5, 1);
}

.Danger #AlertTitle {
    background-color: rgb(234, 76, 71);
}

#alertMessage {
    position: relative;
    font-family: Arial;
    padding: 20px;
    text-align: justify;
    word-wrap: break-word;
    background-color: #fff;
    margin-top: 10px;
    margin-bottom: 10px;
    /*border-radius: 8px;*/
    font-size: medium;
    font-family: 'Century Gothic';
    max-height: 200px;
    overflow-y: auto;
}

.Danger #alertMessage {
    color: #630909;
    font-weight: bold;
}

#AlertFooter {
    padding-bottom: 10px;
    position: relative;
    bottom: 0;
    width: 100%;
    height: 40px;
}

    #AlertFooter button {
        float: right;
        position: relative;
        width: 50px;
        text-align: center;
        margin-right: 10px;
        font-weight: bold;
    }

/*---------------------------- End Of Alert Style ---------------------*/


/*--------------------- custom style for buttons ---------------------*/
#alertCancel {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.428571429;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
    text-shadow: 0 1px 0 #fff;
    background-image: -webkit-gradient(linear, left 0%, left 100%, from(#ffffff), to(#e6e6e6));
    background-image: -webkit-linear-gradient(top, #ffffff, 0%, #e6e6e6, 100%);
    background-image: -moz-linear-gradient(top, #ffffff 0%, #e6e6e6 100%);
    background-image: linear-gradient(to bottom, #ffffff 0%, #e6e6e6 100%);
    background-repeat: repeat-x;
    border-color: #e0e0e0;
    border-color: #ccc;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
}

    #alertCancel:active {
        background-color: #e6e6e6;
        border-color: #e0e0e0;
    }

#alertOk {
    color:#fff;
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.428571429;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
    background-image: -webkit-gradient(linear, left 0%, left 100%, from(#5cb85c), to(#449d44));
    background-image: -webkit-linear-gradient(top, #5cb85c, 0%, #449d44, 100%);
    background-image: -moz-linear-gradient(top, #5cb85c 0%, #449d44 100%);
    background-image: linear-gradient(to bottom, #5cb85c 0%, #449d44 100%);
    background-repeat: repeat-x;
    border-color: #419641;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0);
}

    #alertOk:active {
        background-color: #449d44;
        border-color: #419641;
    }
    #alertOk:hover, #alertCancel:hover {
        border-color: #484848;
    }