﻿.modal_bg {
    background-color: rgba(22,79,110,0.6);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}

@keyframes animOpenZPopup {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

@keyframes animCloseZPopup {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(0);
    }
}

#SAP5ZPopupFP .cus_modal {
    transform: scale(1);
    display: block;
    width: 600px;
    height: auto;
    background-color: #fff;
    border-radius: 5px;
    /*max-height: 650px;*/
    animation: animOpenZPopup .5s;
    transition:all .5s;
}

#SAP5ZPopupFP .modal_header {
    position: relative;
    border-bottom: 1px solid #ddd;
    padding: 10px;
}

    #SAP5ZPopupFP .modal_header .title {
        font-size: 18px;
        min-height: 24px;
        font-weight: 900;
    }

    #SAP5ZPopupFP .modal_header .close_modal {
        position: absolute;
        right: 10px;
        top: 10px;
        font-size: 25px;
        cursor: pointer;
        height: 25px;
        width: 25px;
        line-height: 22px;
        text-align: center;
        font-style: normal;
    }

        #SAP5ZPopupFP .modal_header .close_modal:hover {
            background-color: #ddd;
            border-radius: 50%;
        }

#SAP5ZPopupFP .modal_body {
    padding: 10px;
    max-height: 550px;
    overflow: auto;
}

#SAP5ZPopupFP .modal_footer {
    border-top: 1px solid #ddd;
    padding: 10px;
}

    #SAP5ZPopupFP .modal_footer .lf {
        display: inline-block;
        min-height: 34px;
    }

    #SAP5ZPopupFP .modal_footer .rt {
        display: inline-block;
        float: right;
        clear: both;
        min-height: 34px;
    }

    #SAP5ZPopupFP .modal_footer .cus_btn {
        background-color: #fff;
        color: rgba(0,70,180,0.8);
        border-radius: 3px;
        border: 0px;
        padding: 8px 15px;
        font-size: 16px;
        border: 1px solid rgba(0,70,180,0.8);
        -webkit-transition:all .5s;
        margin-left:5px;
    }

        #SAP5ZPopupFP .modal_footer .cus_btn:hover, #SAP5ZPopupFP .modal_footer .cus_btn:focus {
            background-color: rgba(0,70,180,0.8);
            color: #fff;
        }

        #SAP5ZPopupFP .modal_footer .cus_btn.clear_btn {
            color: #333;
            background: transparent;
        }

            #SAP5ZPopupFP .modal_footer .cus_btn.clear_btn:hover {
                text-decoration: underline;
            }

#SAP5ZPopupFP .waitprocessor {
    margin: auto;
    width: 50px;
    display: block;
}

#SAP5ZPopupFP .closeP5Z {
    text-decoration: none;
    color: #6b6f82;
}

#SAP5ZPopupFP .btnSubmit .wait {
    position: absolute;
    background-color: rgba(180,180,180,0.7);
    width: 82.7px;
    height: 34px;
    margin-left: -15px;
    margin-top: -8px;
    border-radius: 3px;
    background-image: url('../../../Content/images/Extra/imageControlLoader.gif');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}


/*RetailZPOS New Added CSS*/

#SAP5ZPopupFP .modal_footer .cus_btn {
    color: #a81a31;
    border: 1px solid #a81a31;
}
#SAP5ZPopupFP .modal_footer .cus_btn:hover, #SAP5ZPopupFP .modal_footer .cus_btn:focus {
    background-color: #a81a31;
    color: #fff;
}