/*
    Implementation Samples for NetPay Payment Gateway demonstrate that how you can
    implement NetPay Payment Gateway into your application. 
    Copyright (C) 2015,  NetPay

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
#purchase_modal{
    transform: translateZ(0);
}
.purchase-modal-close{    
    position: relative;    
    z-index: 2;
    margin-top: 15px;    
    width: 100%;
    overflow: hidden;        
    /*transform: scale(1, 0);*/
    /*transition: transform .1s linear;*/
}
/*.modal-sm:not( .modal-lg) .purchasem-modal-close{
    transform: scale(1, 1);
}*/
#purchase_modal .modal-dialog{
    transition: all .5s ease-in-out;    
    height: 200px;
}
#purchase_modal .modal-content{
    position: relative;
    min-height: 200px; 
    overflow: hidden;
}
#purchase_modal .modal-lg{
    height: calc(100% - 115px);
    width: 1170px;
    max-width: 100%;    
}
#purchase_modal .modal-lg .modal-content{
    height: 100%;
}
#purchase_modal iframe{
    display: block;
    width: 100%;
    height:  calc(100vh - 115px);    
    border: none;
    outline: none;
    transform: translateZ(0);
}
.iframe-preloader{
    text-align: center;
    height: 200px;
    overflow: hidden;    
}
.iframe-preloader span{    
    display: inline-block;
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #5cb85c;
    transform: translate(0, 90px);
    -webkit-animation: iframe-preloader .9s linear infinite;
    animation: iframe-preloader .9s linear infinite;
}
.iframe-preloader span:nth-child(2){
    -webkit-animation-delay: .2s;
    animation-delay: .2s;
}
.iframe-preloader span:nth-child(3){
    -webkit-animation-delay: .4s;
    animation-delay: .4s;
}
@-webkit-keyframes iframe-preloader{
    0%{
        transform: translate(0, 90px);
    }
    50%{
        transform: translate(0, 80px) scale(1.5, 1.5);
        background: #7cf87c;
    }
    100%{
        transform: translate(0, 90px);
    }
}
@keyframes iframe-preloader{
    0%{
        transform: translate(0, 90px);
    }
    50%{
        transform: translate(0, 80px) scale(1.5, 1.5);
        background: #7cf87c;
    }
    100%{
        transform: translate(0, 90px);
    }
}