.hd-hidden {
    display: none;
}

.hd-shown {
    display: block;
}

table.tbl_authorizenet {
    margin-top: 0px;
    margin-bottom: 20px;
}

table.tbl_authorizenet > tbody > tr > td:first-child {
    width: 40%;
}

table.tbl_authorizenet > tbody > tr > td:last-child div {
    padding: 7px 0px;
}

table.tbl_authorizenet > tbody > tr > td {
    padding: 7px 12px;
}

table.tbl_authorizenet > tbody > tr > td div,
table.tbl_authorizenet > tbody > tr > td label {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 0;
}

table.tbl_authorizenet .help-block {
    color: red;
    float: right;
    margin-right: 5px;
}

table.tbl_authorizenet .predefined {
    text-align: center;
}

table.tbl_authorizenet .help-block,
table.tbl_authorizenet > tbody > tr > td:last-child,
table.tbl_authorizenet input {
    font-size: 12px;
}

table.tbl_authorizenet input,
table.tbl_authorizenet select {
    padding: 7px;
    border-radius: 3px;
}

#authorizenet-aim {
    position: relative;
}

#authorizenet-aim .overlay {
    display: none;
}

#authorizenet-aim .overlay.active {
    width: 100%;
    height: 100%;
    background: #000;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0.3;
    display: flex;
    align-items: center;
    justify-content: center;
}

#authorizenet-aim .overlay .loading {
    width: 75px;
    height: 75px;
    display: block;
    background-size: 100%;
}

#authorizenet-aim #tc_payment_confirm,
table.tbl_authorizenet input {
    width: 100%;
}

#authorize-billing-country,
#authorize-billing-state {
    display: block;
    width: 100%;
    max-width: 100%;
}

.authorize-card-expiration,
.authorize-card-expiration > div {
    text-align: right;
}

#authorize-exp-month,
#authorize-exp-year {
    max-width: unset;
    margin-bottom: 7px;
}

.tbl_authorizenet input:focus,
.tbl_authorizenet select:focus {
    border: initial;
}

.tbl_authorizenet .has-error {
    border-right: 8px solid red;
}

.tbl_authorizenet select {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background-image: none;
}
.tbl_authorizenet #authorize-card-num,
.tbl_authorizenet #authorize-card-code {
    text-align: right;
}