.hidden {
    display: none;
}

/* Loading overlay styles */
.loading_big {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.loading_big.hidden,
.loading_big[style*="display: none"] {
    display: none !important;
}

/* Fix hidden alert elements to prevent whitespace */
#getnetticket_field_errors.hidden,
#getnetcard_field_errors.hidden,
#getnetpix_field_errors.hidden {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
}

p.text-just {
    text-align: justify;
}

p.text-center {
    text-align: center;
}

.btn-copy span {
    color: white;
    font-size: .875rem;
    font-weight: normal;
    padding: .1rem .5rem;
    border-radius: 5px;
    background: #4fae50;
    border: solid 1px #4fae50;
}

.btn-copy:hover span {
    color: white;
    background: #5d8932;
    border: 1px solid #5d8932;
}

.btn-copy span i {
    color: white;
    font-size: .875rem;
    font-weight: normal;
    vertical-align: text-bottom;
}

#getnetcard .form-group {
    margin-bottom: 0px;
}

#getnetcard .row,
#getnetpix .row,
#getnetticket .row {
    width: 100%;
    margin: 0;
}

#getnetcard .col-xs-12,
#getnetpix .col-xs-12,
#getnetticket .col-xs-12 {
    display: inline-block;
}

#getnetcard {
    display: inline-block;
    width: 100%;
    margin-bottom: 10px;
}

#getnetcard i {
    position: absolute;
    padding: 10px;
    width: 40px;
    height: 40px;
}

#getnetcard input,
#getnetcard select,
#getnetcard fieldset {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 45%;
    flex: 0 0 45%;
    background: #f1f1f1;
    padding: .625rem;
    margin: .125rem;
    font-weight: 400;
    border: 0px;
    width: 100%;
    padding-left: 40px;
    height: 40px;
}

#getnetcard #cardbanner {
    position: absolute;
    top: 11px;
    right: 15px;
}

#getnetcard img.ccv {
    position: absolute;
    right: 20px;
    top: 11px;
    height: 22px;
}

.getnetpix .img-qrcode {
    text-align: center;
}

.getnetpix .img-qrcode img {
    margin: 1rem;
    border: 1px solid #d3d3d3;
    max-width: 200px;
}

#payment-confirmation .btn-primary i,
.material-icons.rotating,
#payment-confirmation button i.rotating {
    -webkit-animation:spin 1.5s linear infinite;
    -moz-animation:spin 1.5s linear infinite;
    animation:spin 1.5s linear infinite;
    display: inline-block;
    vertical-align: middle;
}

@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }

/* Disabled button state during payment processing */
#payment-confirmation button[disabled] {
    cursor: not-allowed;
    opacity: 0.7;
}

#imprimeBoleto {
	text-align: center;
}

@media (max-width: 360px) {
    #getnetcard .col-xs-12 { margin: 0; padding: 0; }
}

@media (max-width: 767px) {
    #imprimeBoleto iframe { width: 223px; height: 300px; }
}

@media (max-width: 991px) {
    #imprimeBoleto iframe { width: 335px; height: 450px; }
}

@media (min-width: 992px) {
    #imprimeBoleto iframe { width: 670px; height: 900px; border: 0px; }
}

#order-confirmation .order-confirmation-table .details .ngpaymentsimulator {
    display: none;
}


/* compatibilidade com onepagecheckoutps */
.payment_content_html {
    font-size: .75rem;
}

.payment_content_html p:last-child {
    margin-bottom: 0;
}

#onepagecheckoutps #getnetcard i {
    display: none;
}

#onepagecheckoutps #getnetcard input,
#onepagecheckoutps #getnetcard select,
#onepagecheckoutps #getnetcard fieldset {
    padding: 0 0.625rem !important;
    height: 28px !important;
}

#onepagecheckoutps #getnetcard img.ccv {
    right: 19px;
    top: 8px;
    height: 16px;
}

#onepagecheckoutps #getnetcard fieldset.full {
    line-height: 28px;
}

#onepagecheckoutps #getnetcard_field_errors.alert {
    padding: 0.35rem 0.65rem;
}

#onepagecheckoutps #getnetcard .col-md-4, 
#onepagecheckoutps #getnetcard .col-md-8, 
#onepagecheckoutps #getnetcard .col-md-12,
#onepagecheckoutps #getnetcard .col-xs-12 {
    padding-right: 5px;
    padding-left: 5px;
}