﻿/*
    Not using the wrapper
#PopupWrapper {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}
*/

#Popup {
    display: none;
    min-width: 300px;
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 5px solid #c4c4c4;
    overflow: auto;
    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: 1.0s;
    animation-name: animatetop;
    animation-duration: 1.0s;
    border-radius: 8px;
    position: absolute;
    left: 40%;
    top: 30%;
}

#PopupHead {
    padding: 10px;
    margin-bottom: 20px;
    vertical-align: middle;
    border-bottom: 1px #5cb85c solid;
    cursor: move;
}

#PopupBody {
    padding: 15px;
}

#PopupFooter {
    padding: 2px 16px;
    text-align: right;
    margin-top: 30px;
    padding: 10px;
    border-top: 0px #5cb85c solid;
}
    #PopupFooter a {
        color: #fe7373;
        text-decoration: none;
    }


#CloseModalX {
    color: red;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: relative;
    top: -10px;
}
     #CloseModalX:hover, #CloseModalX:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }

/*@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 75px;*/ /* Make sure it matches initial placement of the movable div */
        /*opacity: 1
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 75px;*/ /* Make sure it matches initial placement of movable div */
        /*opacity: 1
    }
}*/