﻿
.main-openpay{
    position: relative;
    margin: 0 auto;
    margin-top: 20px;
    max-width: 880px;
    width: 100%;
    background-color: transparent;
}

.main-openpay:before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: 75%;
    margin-top: -10px;
    border-top: solid 1px #dcdcdc;
}

.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;
    padding: 10px 30px;
}


.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-cardbrand{
    position: relative;
    width: 100%;
    text-align: center;
}

.openpay-cardbrand img{
    margin: 0 auto;
}

.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 select{
    max-width:170px;
    margin: 0 auto;
}

.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%;
    border: solid 1px #444;
    text-align: center;
    border-radius: 3px;
    height: 35px;
    padding: 0px 13px;
    outline: none;
}

.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);
}

.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;
    width:100%;
    border: solid 1px #444;
    border-radius: 3px;
    height: 56px !important;
    padding: 0px 13px;
    outline: none;
    text-align: center;
}

.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-bottom: 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;
}


/***********************OXXO******************************/

.opps-reminder {
	position: relative;
	top: -1px;
	padding: 9px 0 10px;
	font-size: 11px;
	text-transform: uppercase;
	text-align: center;
	color: #ffffff;
	background: #000000;
}

.opps-info {
	margin-top: 26px;
	position: relative;
}

.opps-info:after {
	visibility: hidden;
     display: block;
     font-size: 0;
     content: " ";
     clear: both;
     height: 0;

}

.opps-brand {
	display: inline-block;
    padding: 0px 20px;
    width: 52%;
    text-align: center;
    vertical-align: top;
}

.opps-brand img {
	max-width: 150px;
	margin-top: 2px;
    margin: 0 auto;
}

.opps-ammount {
	display: inline-block;
    width: 45%;
    vertical-align: top;
}

.opps-ammount h3{
    margin-bottom: 10px !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	text-transform: uppercase !important;
}

.opps-ammount h2 {
	font-size: 2.7em;
    color: #000000;
    line-height: 24px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.opps-ammount h2 sup {
	font-size: 16px;
	position: relative;
	top: -15px;
}

.opps-ammount p {
	font-size: 11px;
	line-height: 14px;
}

.opps-reference {
	margin-top: 14px;
}

.opps-reference h1{
    font-size: 2em !important;
    text-align: center;
    margin-top: -1px;
    padding: 6px 0 7px;
    border: 1px solid #b0afb5;
    border-radius: 4px;
    background: #f8f9fa;
    font-weight: 800;
}

.opps-reference h3 {
    margin-bottom: 10px !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	text-transform: uppercase !important;
}

.opps-instructions {
	margin: 32px 0 0 0;
    padding: 32px 46px 45px;
    border-top: 1px solid #b0afb5;
    background: #f8f9fa;
    text-align: justify;
}

.opps-instructions h3{
    margin-bottom: 10px !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	text-transform: uppercase !important;
}

.opps-instructions ol{
    margin: 17px 0 0 16px !important;
    list-style: decimal;
}

.opps-instructions ol li + li{
    list-style: decimal;
    margin-top: 10px !important;
	color: #000000 !important;
}

.opps-footnote {
	margin-top: 22px;
	padding: 22px 5px 22px 5px;
	color: #108f30;
	text-align: center;
	border: 1px solid #108f30;
	border-radius: 4px;
	background: #ffffff;
}

/************************************************************/

@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;
    }
}

@media screen and (max-width: 442px) 
{
    .opps-brand{
        display: block;
        padding: 0px 20px 20px 20px;
        width: 100%;
    }

    .opps-ammount{
        display: block;
        width: 100%;
        max-width: 200px;
        vertical-align: top;
        text-align: center;
        margin: 0 auto;
        margin-bottom: 20px;
    }

    .opps-reference h1{
        font-size: 8vw !important;
    }

    .opps-instructions{
        padding: 32px 23px 45px;
    }
}

@media screen and (max-width: 440px)
{
    .openpay-payment-data{
        padding:0;
    }
}

@media screen and (max-width: 320px)
{
    .openpay-debit{
        padding: 5px 10px;
    }
}
