.reg-tabs {
    position: relative;
    margin-top: 25px;
    width: 94%;
    margin-bottom: 20px;
}
.form-tabs {
    margin-top: 30px;
}
.applePayButton {
    margin-top: 35px;
}
.disable-tab-pane {
    display: none !important;
}
#postal-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    color: black;
    font-size: 15px;
}
#postal-loading-overlay img {
    width: 200px;
    object-fit: contain;
}
.reg-tabs ul {
    padding: 0px;
    margin: 0px;
    border: 2px solid #dfdfdf !important;
    border-radius: 10px 10px 0px 0px;
}
.reg-tabs ul li {
    margin: 0px !important;
    width: 50%;
}
.reg-tabs ul li button {
    font-size: 16px;
    font-weight: 600;
    border: none !important;
    border-radius: 0px !important;
    background: none !important;
    padding: 18px 5px;
    text-transform: uppercase;
    margin: 0px;
    outline: none !important;
    width: 100%;
}
.reg-tabs ul li#creditCardTab button {
    border-radius: 10px 0px 0px 0px !important;
}
.reg-tabs ul li#applePayTab button {
    border-radius: 0px 10px 0px 0px !important;
}
.reg-tabs ul li button.active {
    background: #004b87 !important;
    color: #fff !important;
}
.reg-tabs ul li button img {
vertical-align: sub;
}
.reg-tabs ul li:first-child button img {
margin-right: 5px;
}
.reg-tabs ul li button.active img {
filter: brightness(0) invert(1);
}
.tab-content {
    padding: 10px 30px !important;
    margin: 0px;
    background: #ffffff;
    border-radius: 0px 0px 10px 10px;
    width: 100%;
    border: 1px solid #d0cece;
    border-top: none;
}
form#postal-payments-form {
position: relative;
margin-top: 20px;
}
form#postal-payments-form .form-group {
    width: 100%;
    margin-bottom: 20px;
}
form#postal-payments-form label {
font-weight: 500;
color: #000;
display: block;
margin: 0px;
}
form#postal-payments-form label span {
    display: block;
    font-size: 11px;
    color: #cf2121;
}
form#postal-payments-form input, form#postal-payments-form select {
    width: 100% !important;
    padding: 7px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-top: 5px;
    outline: none !important;
    box-shadow: none !important;
    background: #f8f8f8;
}
form#postal-payments-form select {
    padding: 10px 0px;
}
div#credit-card-form {
    position: relative;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    margin: 30px 0px 20px;
    width: 450px;
    max-width: 450px;
    border: 2px solid #e1e1e1;
}
div#credit-card-form h5 {
    font-size: 20px;
    font-weight: 600;
    margin: 5px 0px 0px;
    text-transform: uppercase;
}
div#credit-card-form h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 5px 0px 0px;
    text-transform: capitalize;
}
div#credit-card-form h4 img.secure {
    width: 10px;
    vertical-align: baseline;
}
div#credit-card-form .paymf1 {
    margin-top: 30px;
    margin-bottom: 10px;
}
div#credit-card-form .paymf2 {
    margin-bottom: 10px;
}
div#credit-card-form .expire-card {
    width: 100%;
    display: inline-block;
    margin-bottom: 10px;
}
div#credit-card-form .cc-input {
    position: relative;
    margin-top: 5px;
}
div#credit-card-form .cc-input input {
    margin: 0px !important;
}
div#credit-card-form .cc-input:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    width: 30px;
    height: 20px;
    background: url(/wp-content/plugins/postal-payments/public/images/cr-card.png) left center no-repeat;
    background-size: contain;
}
div#credit-card-form input {
    width: 100% !important;
    background: #f8f8f8;
    padding: 7px 10px 7px 50px;
}
div#credit-card-form .paymf2 input {
    background: #f8f8f8;
    padding: 7px 10px;
}
p.nominal-text a {
    color: #e0162b;
    padding: 0px;
    margin: 0px;
}
form#postal-payments-form input[type="submit"] {
font-size: 18px;
font-weight: 500;
color: #fff;
background: #e0162b;
width: auto !important;
border: none;
padding: 10px 50px 12px;
text-transform: uppercase;
margin-top: 20px;
outline: none !important;
}
form#postal-payments-form input[type="submit"]:hover {
color: #fff;
background: #c12333;
}

@media only screen and (max-width: 767px) {
.reg-tabs {
    width: 100%;
}
.reg-tabs ul li button {
    font-size: 13px !important;
    font-weight: 600;
    padding: 13px 5px;
}
.reg-tabs ul li button img {
vertical-align: sub;
width: 18px;
}
.reg-tabs ul li:first-child button img {
    margin-right: 2px;
}
.tab-content {
    padding: 10px 10px !important;
    width: 100%;
}
form#postal-payments-form .form-group {
    width: 100%;
    margin-right: 0px;
}
form#postal-payments-form .form-group:nth-child(8), form#postal-payments-form .form-group:nth-child(9), form#postal-payments-form .form-group:nth-child(10) {
    width: 100%;
}
div#credit-card-form {
    width: 100%;
    padding: 20px 20px 10px;
    margin: 15px 0px 20px;
}
div#credit-card-form .text-right {
    text-align: left !important;
    margin-top: 15px;
}
div#credit-card-form h5 {
    font-size: 18px;
}
div#credit-card-form .paymf1 {
    margin-top: 20px;
}
div#credit-card-form .paymf2 {
    width: 100%;
    margin-top: 0px;
}
div#credit-card-form .paymf2 label {
    width: 100%;
}
div#credit-card-form .paymf2 input {
    width: 100% !important;
}
div#credit-card-form .expire-card .text-right {
    margin-top: 0px;
}
div#credit-card-form .expire-card label {
    width: 100%;
    margin-bottom: 5px;
}
div#credit-card-form input {
width: 100% !important;
}
div#credit-card-form .expire-card {
width: 100%;
}
div#credit-card-form select#ccmonth {
    margin-bottom: 0px !important;
}
div#credit-card-form select#ccyear {
    margin-bottom: 0px;
}
p.nominal-text {
text-align: center;
}
p.nominal-text a {
display: block;
}
form#postal-payments-form .btn-all {
    text-align: center;
    margin-bottom: 0px;
}

}

@media only screen and (min-width: 768px) and (max-width: 991px) {
.tab-content {
    padding: 10px 15px !important;
}
div#credit-card-form {
    width: 100%;
    max-width: 100%;
}
div#credit-card-form h5 {
    font-size: 18px;
}
div#credit-card-form .expire-card .text-right {
    margin-top: 0px;
    text-align: right !important;
}
form#postal-payments-form #credit-card-form .form-group {
    width: 100%;
}

}
