/*
    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{
    max-width: 100%;
}
#purchase_modal .modal-dialog{
    -webkit-transition: all .4s ease-in-out .1s, width .2s ease-in-out;
    -moz-transition: all .4s ease-in-out .1s, width .2s ease-in-out;
    -ms-transition: all .4s ease-in-out .1s, width .2s ease-in-out;
    transition: all .4s ease-in-out .1s, width .2s ease-in-out;
    height: 200px;
}
#purchase_modal .modal-content{
    position: relative;
    min-height: 200px; 
    overflow: auto;
}
#purchase_modal .modal-lg{
    height: calc(100% - 115px);
    width: 1120px;
    max-width: 100%;    
}
#purchase_modal .modal-lg .modal-content{        
    max-height: 100%;
}
#purchase_modal iframe{
    display: block;    
    margin: auto;
    width: -webkit-calc(100% - 30px);    
    width: calc(100% - 30px);    
    border: none;
    outline: none;    
    -webkit-transition: opacity .3s ease-in;
    -moz-transition: opacity .3s ease-in;
    -ms-transition: opacity .3s ease-in;
    transition: opacity .3s ease-in;
}
.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;
    -webkit-transform: translate(0, 90px);
    -moz-transform: translate(0, 90px);
    -ms-transform: translate(0, 90px);
    transform: translate(0, 90px);
    -webkit-animation: iframe-preloader .9s linear infinite;
    -mos-animation: iframe-preloader .9s linear infinite;
    -ms-animation: iframe-preloader .9s linear infinite;
    animation: iframe-preloader .9s linear infinite;
}
.iframe-preloader span:nth-child(2){
    -webkit-animation-delay: .2s;
    -moz-animation-delay: .2s;
    -ms-animation-delay: .2s;
    animation-delay: .2s;
}
.iframe-preloader span:nth-child(3){
    -webkit-animation-delay: .4s;
    -moz-animation-delay: .4s;
    -ms-animation-delay: .4s;
    animation-delay: .4s;
}
@-webkit-keyframes iframe-preloader{
    0%{
        -webkit-transform: translate(0, 90px);
        -moz-transform: translate(0, 90px);
        -ms-transform: translate(0, 90px);
        transform: translate(0, 90px);
    }
    50%{
        -webkit-transform: translate(0, 80px) scale(1.5, 1.5);
        -moz-transform: translate(0, 80px) scale(1.5, 1.5);
        -ms-transform: translate(0, 80px) scale(1.5, 1.5);
        transform: translate(0, 80px) scale(1.5, 1.5);
        background: #7cf87c;
    }
    100%{
        -webkit-transform: translate(0, 90px);
        -moz-transform: translate(0, 90px);
        -ms-transform: translate(0, 90px);
        transform: translate(0, 90px);
    }
}
@-moz-keyframes iframe-preloader{
    0%{
        -webkit-transform: translate(0, 90px);
        -moz-transform: translate(0, 90px);
        -ms-transform: translate(0, 90px);
        transform: translate(0, 90px);
    }
    50%{
        -webkit-transform: translate(0, 80px) scale(1.5, 1.5);
        -moz-transform: translate(0, 80px) scale(1.5, 1.5);
        -ms-transform: translate(0, 80px) scale(1.5, 1.5);
        transform: translate(0, 80px) scale(1.5, 1.5);
        background: #7cf87c;
    }
    100%{
        -webkit-transform: translate(0, 90px);
        -moz-transform: translate(0, 90px);
        -ms-transform: translate(0, 90px);
        transform: translate(0, 90px);
    }
}
@-ms-keyframes iframe-preloader{
    0%{
        -webkit-transform: translate(0, 90px);
        -moz-transform: translate(0, 90px);
        -ms-transform: translate(0, 90px);
        transform: translate(0, 90px);
    }
    50%{
        -webkit-transform: translate(0, 80px) scale(1.5, 1.5);
        -moz-transform: translate(0, 80px) scale(1.5, 1.5);
        -ms-transform: translate(0, 80px) scale(1.5, 1.5);
        transform: translate(0, 80px) scale(1.5, 1.5);
        background: #7cf87c;
    }
    100%{
        -webkit-transform: translate(0, 90px);
        -moz-transform: translate(0, 90px);
        -ms-transform: translate(0, 90px);
        transform: translate(0, 90px);
    }
}
@keyframes iframe-preloader{
    0%{
        -webkit-transform: translate(0, 90px);
        -moz-transform: translate(0, 90px);
        -ms-transform: translate(0, 90px);
        transform: translate(0, 90px);
    }
    50%{
        -webkit-transform: translate(0, 80px) scale(1.5, 1.5);
        -moz-transform: translate(0, 80px) scale(1.5, 1.5);
        -ms-transform: translate(0, 80px) scale(1.5, 1.5);
        transform: translate(0, 80px) scale(1.5, 1.5);
        background: #7cf87c;
    }
    100%{
        -webkit-transform: translate(0, 90px);
        -moz-transform: translate(0, 90px);
        -ms-transform: translate(0, 90px);
        transform: translate(0, 90px);
    }
}
