﻿.modalPopupBackground {
    /*display: none;*/
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.6);
}

#modalContent {
    position: relative;
    background-color: #fff;
    margin: 220px auto;
    padding: 0;
    width: 500px;
    border-radius: 0.5rem;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.7s;
    animation-name: animatetop;
    animation-duration: 0.7s;
}

/*        #modalHeader {
            margin-top: -200px;
            margin-right: -200px;
            padding: 0px 0px;
            background-color: #fffff0;
            color: #333;
            float: right;
            font-size: 28px;
            font-weight: bold;
        }
*/
#btnCancel {
    margin-top: -170px;
    margin-right: -230px;
    background-color: rgba(80,80,80,0.4);
    font-size: 30px;
    width: 40px;
    height: 40px;
    color: #888;
    border: none;
    border-radius: 0.4rem;
    float: right;
    display: none;
}

#modalBody {
    padding: 5px 20px;
    color: #111;
    font-size: 1.1em;
}

#modalFooter {
    height: 30px;
    padding: 1rem;
    background-color: #ffffff;
    color: #333;
    /*border-top: 1px solid #e9ecef;*/
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    text-align: right;
}

#btnOK {
    background: #e0e0e0;
    font-size: 1.1em;
    width: 100px;
    height: 24px;
    color: #000;
    border: 1px solid #000;
    border-radius: 0.3rem;
    /*             float: right;
*/
}
/* add animation effects */
@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}
