﻿
.main-openpay{
    position: relative;
    margin: 0 auto;
    margin-top: 40px;
    max-width: 880px;
    width: 100%;
    background-color: transparent;
}

.main-openpay::before{
    position: absolute;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    top: -16px;
    width: 70%;
    border-radius: 10px;
    height: 3px;
    content: '';
    background: rgb(244, 244, 244);
}

.openpay-accepted-cards{
    text-align: center;
}

.openpay-credit{
    display: block;
    text-align: center;
    padding: 5px 20px;
}

.openpay-debit{
    display: block;
    text-align: center;
    padding: 5px 20px;
}

.openpay-credit span{
    display: block;
    text-align: center;
}

.openpay-credit img{
    display: inline-block;
    max-width:53px;
    width:100%;
}

.openpay-debit span{
    display: block;
    text-align: center;
}

.openpay-debit img{
    display: inline-block;
    max-width:90px;
    width:100%;
}

.openpay-payment-data{
    margin-top: 10px;
}


.openpay-payment-options{
    position:relative;
    padding-top: 40px;
    padding-bottom: 10px;
    text-align: center;
    margin: 0 auto;
}

.openpay-payment-item{
    display: inline-block;
    max-width:200px;
    width:100%;
    text-align:center;
    margin-bottom: 30px;
    cursor: pointer;
}

.openpay-payment-item img{
    width:100px;
    display: block;
    margin: 0 auto;
}

.openpay-payment-item span{
    margin-top: 10px;
    display: block;
}

.openpay-payment-item span:hover{
    color: #3b9f46;
}

/*.openpay-card-option{
    display: none;
}*/

.openpay-section-back{
    display: block;
    padding: 5px 38px;
}

.openpay-section-back span{
    cursor: pointer;
}

.openpay-section-back span:hover{
    color: #3b9f46;
}

/***********************************************/

.openpay-card-input{
    text-align:center;
}

.openpay-card-input input{
    max-width:288px;
    text-align:center;
}

.openpay-owner, .openpay-card, .openpay-expiration, .openpay-securitycode{
    display: block;
    width: 100%;
    max-width: 100%;
    text-align: left;
    padding:15px;
}

.openpay-securitycode{
    display: block;
    margin-top: -15px;
    width: 100%;
    max-width: 100%;
    text-align: center;
}

.openpay-owner span, .openpay-card span, .openpay-expiration span, .openpay-securitycode span{
    display: block;
    font-size: 1em;
    font-weight: 500;
    text-align:center;
}

.openpay-expiration .row{
    margin-top:10px;
}

.openpay-expiration select{
    max-width: 170px;
}

.openpay-owner input, .openpay-card input{
    width: 80%;
    border: solid 1px #444;
    border-radius: 3px;
    height: 35px;
    padding: 0px 13px;
    outline: none;
}

.openpay-securitycode input{
    display: inline-block;
    max-width:90px;
    width:100%;
    height: 35px;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #9e9e9e;
    border-radius: 0;
    outline: none;
    font-size: 16px;
    padding: 0;
    text-align: center;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    color: #666666;
    -webkit-transition: border .3s, -webkit-box-shadow .3s;
    transition: border .3s, -webkit-box-shadow .3s;
    transition: box-shadow .3s, border .3s;
    transition: box-shadow .3s, border .3s, -webkit-box-shadow .3s;
}

.openpay-securitycode .opp-back{
    display: inline-block;
    margin-right: 35px;
    margin-left: 10px;
    position: relative;
    top: 10px;
}

.openpay-securitycode .opp-front{
    display: inline-block;
    position: relative;
    top: 10px;
}

.openpay-owner input:focus, .openpay-card input:focus, .openpay-month:focus, .openpay-year:focus, .openpay-securitycode input:focus{
    border-color: #011e41;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgb(1, 30, 65);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgb(1, 30, 65);
}

.input-item-info {
    position: absolute;
    top: -8px;
    right: 33%;
    width: 21px;
    height: 21px;
    z-index: 100;
    background-color: #3b3453;
    color: #fff;
    font-size: 0.9em;
    border-radius: 21px;
    text-align: center;
}

.openpay-month{
    display: inline-block;
    max-width:150px;
    width:100%;
    margin-right:10px;
    border: solid 1px #444;
    border-radius: 3px;
    height: 35px;
    padding: 0px 13px;
    outline: none;
    background: none;
}

.openpay-year{
    display: inline-block;
    max-width:60px;
    height: 35px;
    width: 100%;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #9e9e9e;
    border-radius: 0;
    outline: none;
    font-size: 16px;
    padding: 0;
    text-align: center;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    color: #666666;
    -webkit-transition: border .3s, -webkit-box-shadow .3s;
    transition: border .3s, -webkit-box-shadow .3s;
    transition: box-shadow .3s, border .3s;
    transition: box-shadow .3s, border .3s, -webkit-box-shadow .3s;
}

.openpay-year:focus, .openpay-securitycode input:focus{
    border-bottom: 1px solid #000;
    -webkit-box-shadow: 0 1px 0 0 #000;
    box-shadow: 0 1px 0 0 #000;
}

.openpay-footer{
    margin-top: 40px;
    text-align: right;
}

.openpay-copyright{
    display: block;
    max-width: 100%;
    border-top: solid 1px #e8e8e8;
    padding: 2px 16px;
    font-size: 0.8em;
    text-align: center;
}

.openpay-copyright span{
    display:block;
}

.openpay-copyright img{
    margin: 0 auto;
}

.openpay-shield{
    display: block;
    position: relative;
    top: 0;
    width: 100%;
    font-size: 0.8em;
    text-align: center;
}

.openpay-shield img{
    display: block;
    margin: 0 auto;
}

.openpay-shield span{
    display: block;
    margin: 0 auto;
    width: 200px;
    text-align: center;
}

.openpay-pay{
    display: block;
    text-align: right;
    margin-top: 42px;
    margin-bottom: 40px;
    padding-right: 40px;
}

.openpay-pay button{
    position: relative;
    top: 1px;
    padding: 5px 25px;
    background-color: #3b9f46;
    color: #fff;
    font-size: 1.2em;
    font-weight: 100;
    border-radius: 3px;
    border: none;
    text-align: center;
    transition-duration: 0.4s;
    cursor: pointer;
}

.openpay-pay button:hover{
    background-color: #75c57e;
    color: #fff;
    transition-duration: 0.4s;
}

.OppTbxError{
    border: solid 3px #b74724 !important;
}

.openpay-error{
    position:fixed;
    top:45%;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align:center;
    min-height: 48px;
    max-width: 300px;
    line-height: 1.5em;
    background-color: #323232;
    padding: 10px 25px;
    font-size: 1.1rem;
    font-weight: 300;
    color: #fff;
    -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
    display:none;
    z-index:999;
}

.openpay-error.success{
    background-color: #108728 !important;
}

.opp_main_loader{
    position: absolute;
    top: 0px;
    left:0px;
    right:0px;
    width:100%;
    height:100%;
    text-align: center;
    z-index: 1000;
    display: none;
}

.opp_loader_bg{
    position: absolute;
    top: 0px;
    left:0px;
    right:0px;
    width:100%;
    height:100%;
    background-color: #fff;
    opacity: 0.7;
}

.opp_loader {
    position: absolute;
    top: 40%;
    width: 100px;
    height: 100px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    background-image: url(../images/openpay/loader.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
}

@media screen and (max-width: 866px)
{
    .openpay-credit{
        display: block;
    }

    .openpay-credit span{
        text-align: center;
        margin-bottom: 10px;
    }

    .openpay-debit{
        display: block;
    }

    .openpay-debit span{
        text-align: center;
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 719px)
{
    .openpay-securitycode .opp-back{
        margin-right:14%;
    }
}

@media screen and (max-width: 583px)
{
    .openpay-owner, .openpay-card, .openpay-expiration, .openpay-securitycode{
        max-width:100%;
        text-align:center;
    }

    .openpay-owner input, .openpay-card input{
        max-width:250px;
        min-width: 230px;
        text-align:center;
    }

    .openpay-securitycode .opp-back{
        margin-right:10px;
    }

    .openpay-footer{
        text-align:center;
    }

    .openpay-copyright{
        border-right: none;
        display: block;
        text-align: center;
        margin-bottom:10px;
        max-width: 100%;
    }

    .openpay-copyright span{
        display: block;
        text-align: center;
    }

    .openpay-shield{
        top: 0;
    }

    .openpay-shield img{
        display: block;
        margin-right: 0;
        margin: 0 auto;
    }

    .openpay-shield span{
        text-align: center;
        max-width: 200px;
    }

    .openpay-pay{
        text-align:center;
        padding-right: 0;
    }

    .input-item-info{
        right: 19%;
    }

}

@media screen and (max-width: 440px)
{
    .openpay-payment-data{
        padding:0;
    }
}

@media screen and (max-width: 320px)
{
    .openpay-debit{
        padding: 5px 10px;
    }
}
