@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:wght@300;400;600;700&display=swap');

.payment-wrapper {
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-family: 'Titillium Web', sans-serif;
    font-weight: 300;
    line-height: normal;
    color: #434343;
}

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
}

a {
    cursor: pointer;
}

:focus {
    outline: none;
}

.tac {
    text-align: center;
}

.tal {
    text-align: left;
}

.header {
    padding: 15px 0;
    display: inline-block;
    width: 100%;
    vertical-align: top;
}

.logo {
    float: left;
}

.logo a {
    display: block;
}

.logo img {
    width: 240px;
}

.contact {
    float: right;
}

.contact a {
    color: #005796;
    text-decoration: none;
    font-size: 30px;
    display: block;
    cursor: pointer;
}

.contact span {
    line-height: 50px;
}

.contact span img {
    display: inline-block;
    width: 50px;
    vertical-align: top;
    margin-right: 5px;
}

.page-title {
    display: inline-block;
    width: 100%;
    vertical-align: top;
    margin-bottom: 60px;
    font-size: 36px;
    color: #434343;
    text-transform: capitalize;
    position: relative;
    line-height: 36px;
    padding-bottom: 30px;
}

.page-title::after {
    content: "";
    background: #005796;
    width: 70px;
    height: 4px;
    display: inline-block;
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -35px;
}

.page-title.tal::after {
    left: 0;
    margin-left: 0;
}

.column {
}

.payment-type {
    margin: 0 auto;
    width: 560px;
}

.payment-type .payby-block {
    float: left;
    width: 50%;
    padding: 10px;
    text-align: center;
}

.payment-type .payby-block a span {
    margin-bottom: 10px;
}

.payment-type .payby-block span {
    display: block;
    width: 100%;
    margin-bottom: 3px;
}

.payment-type .payby-block .payby {
    font-size: 18px;
}

.payment-type .payby-block .payment-name {
    font-size: 30px;
    margin-bottom: 0;
}

.payment-type .payby-block .payment-charges {
    font-size: 16px;
}

.payment-wrapper {
    max-width: 767px;
    margin: 0 auto;
}

.payment-payby {
    text-align: center;
}

.payment-payby span {
    display: block;
    font-size: 18px;
    font-weight: 400;
}

.payment-payby .payby-caption {
    margin-bottom: 20px;
}

.payment-payby .account-number {
    font-size: 26px;
}

.payment-payby .payby-notes {
    color: #d0011b;
    margin-top: 30px;
    font-weight: 500;
    font-size: 20px;
    line-height: 26px;
}

.payment-payby .action {
    background: #005796;
    display: inline-block;
    width: auto;
}

.payment-wrapper .inputs {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.payment-wrapper .input-holder {
    width: 100%;
    background: #e4e4e4;
    position: relative;
    margin: 0 0 30px;
    border-radius: 2px;
    height: 70px;
    display: flex;
    align-items: center;
}

.payment-wrapper .input-holder label {
    float: left;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 18px;
    font-size: 16px;
    font-weight: 600;
    min-width: 120px;
    display: inline-block;
}

.search-from-inner .input-holder label {
    min-width: 300px;
}

.payment-card .input-holder label {
    min-width: 165px;
}

.payment-card .input-holder.small label {
    min-width: 96px;
}

.payment-wrapper .input-holder .wp-invoice-form-control-wrap {
    float: left;
    line-height: 19px;
    position: relative;
    width: calc(100% - 100px);
}

.field {
    margin-bottom: 30px;
    position: relative;
}

.field {
    border: 1px solid #dddddd;
    width: 100%;
    line-height: 70px;
    padding: 5px 20px;
    height: 70px;
    font-size: 16px;
    text-transform: uppercase;
    color: #9c9c9c;
    opacity: 1;
    background: transparent;
    display: flex;
    align-items: center;
}

.field span {
    font-weight: 600;
}

.half.left {
    width: 48%;
    float: left;
}

.half.right {
    width: 48%;
    float: right;
}

.action-toolbar {
    clear: both;
    margin: 0 auto;
    text-align: center;
    padding-top: 30px;
}

.action {
    background: #9b9b9b;
    box-shadow: none;
    border: 0;
    padding: 10px 50px;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 18px;
    width: 270px;
    margin: 0 auto;
    cursor: pointer;
}

::placeholder {
    color: #9c9c9c;
    font-style: italic;
    opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #9c9c9c;
    font-style: italic;
}

::-ms-input-placeholder { /* Microsoft Edge */
    color: #9c9c9c;
    font-style: italic;
}

.payment-step {
    padding-bottom: 40px;
    display: inline-block;
    width: 100%;
}

.payment-step ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.payment-step li {
    float: left;
    width: 50%;
    position: relative;
    overflow: hidden;
}

.payment-step span {
    display: block;
    font-size: 16px;
    font-weight: 600;
}

.payment-step li.stepone::after {
    content: "";
    display: inline-block;
    width: 40%;
    background: #d8d8d8;
    height: 1px;
    position: absolute;
    top: 28px;
    left: auto;
    right: 0;
}

.payment-step li.steptwo::before {
    content: "";
    display: inline-block;
    width: 40%;
    background: #d8d8d8;
    height: 1px;
    position: absolute;
    top: 28px;
    right: auto;
    left: 0;
}

.search-from {
    display: inline-block;
    width: 100%;
    vertical-align: top;
    margin-bottom: 60px;
    position: relative;
}

.search-from-inner {
    position: absolute;
    width: 100%;
    padding-right: 160px;
}

.search-from form {
    width: 100%;
    position: relative;
}

.search-from-inner form input, fieldset input {
    width: 100%;
    padding: 10px 0 !important;
    background: #e3e3e3;
    border: 0;
    font-size: 16px;
    color: #434343;
    border: none !important;
}

.search-from form button {
    position: absolute;
    right: 0;
    top: 0;
    background: #ffffff;
    width: 70px;
    height: 70px;
    line-height: 70px;
    text-align: center;
    border: 0;
    cursor: pointer;
}

.search-from form button img {
    width: 45px;
    vertical-align: middle;
}

.search-from form input::placeholder {
    color: #434343;
    font-style: italic;
    opacity: 1; /* Firefox */
}

.search-from form input:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #434343;
    font-style: italic;
}

.search-from form input::-ms-input-placeholder { /* Microsoft Edge */
    color: #434343;
    font-style: italic;
}

.amount-due {
    float: right;
    width: 130px;
    height: 70px;
    margin-bottom: 30px;
}

#amount-due {
    display: none;
}

.amount-due .amount-due-text {
    display: block;
    color: #005796;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 600;
}

.amount-due .price {
    display: block;
    color: #969696;
    text-transform: uppercase;
    font-size: 30px;
    font-weight: 500;
    line-height: 30px;
}

.payment-details {
    text-align: center;
}

.invoice-charge label {
    margin-right: 5px;
    color: #434343;
}

.invoice-charge span {
    margin: 10px;
    font-size: 18px;
    font-weight: 500;
    color: #005796;
    text-transform: capitalize;
}

.invoice-charge .total-pay-amount {
    display: block;
    font-size: 22px;
    margin: 10px 10px 20px 10px;
}

.fieldset {
    display: inline-block;
    width: 100%;
}

.fields.half.left {
    float: left;
    width: 48%;
}

.step2 .amount-due .price {
    color: #000000;
    font-weight: 600;
}

.payment-card .field input {
    background: #e3e3e3;
    color: #434343;
}

.payment-card .field input::placeholder {
    color: #434343;
    font-style: italic;
    opacity: 1; /* Firefox */
}

.payment-card .field input:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #434343;
    font-style: italic;
}

.payment-card .field input::-ms-input-placeholder { /* Microsoft Edge */
    color: #434343;
    font-style: italic;
}

.cvv input {
    padding: 5px 46px 5px 20px;
}

.checkbox input[type="checkbox"] {
    position: relative;
    width: 30px;
    height: 30px;
    color: #e3e3e3;
    border: 1px solid #e3e3e3;
    background: #e3e3e3;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: 0;
    cursor: pointer;
    transition: background 175ms cubic-bezier(0.1, 0.1, 0.25, 1);
    text-align: center;
    line-height: 30px;
    margin: 0 5px 0 0;
}

.checkbox input[type="checkbox"]:checked {
    color: #fff;
    border-color: #005796;
    background: #005796;
}

.checkbox input[type="checkbox"]::before {
    position: absolute;
    content: "";
    display: block;
    top: 6px;
    left: 11px;
    width: 8px;
    height: 14px;
    border-style: solid;
    border-color: #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
}

.checkbox input[type="checkbox"]:checked::before {
    opacity: 1;
}

.payment-card {
    padding: 20px;
}

.payment-card .controller {
    float: left;
    width: 100%;
    position: relative;
}

.payment-card .checkbox {
    float: left;
    margin-top: 15px;
}

.payment-card .action-toolbar {
    clear: none;
    float: right;
    padding: 0;
}

.payment-card .checkbox label {
    line-height: 30px;
    vertical-align: top;
    font-size: 16px;
    font-weight: 500;
}

.payment-card .action {
    height: 60px;
    line-height: 60px;
    padding: 0 10px;
    background: #9b9b9b;
}

.payment-card .action img {
    width: 14px;
    margin-right: 8px;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

.thankyou {
    font-size: 30px;
    line-height: 36px;
    font-weight: 500;
    max-width: 450px;
    margin: 0 auto;
    padding: 50px 0;
}

.thankyou p {
    margin: 0 0 20px 0;
}

.thankyou span {
    color: #005796;
    margin-bottom: 10px;
    display: block;
}

.thankyou .action {
    padding: 16px 30px;
    line-height: 60px;
    height: 60px;
    background: #005796;
}

.tooltip {
    position: absolute;
    display: inline-block;
    right: 0;
    top: 15%;
    margin-top: -10px;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: #ffffff;
    color: #434343;
    text-align: center;
    border-radius: 6px;
    padding: 10px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.search-from-inner .error {
    position: absolute;
    top: -55px;
    left: 0;
    right: 0;
    border: none;
    background: #c84e4e;
    margin: 0;
    padding: 15px 55px;
    font-size: 14px;
    line-height: 15px;
    color: #fff;
    border-radius: 2px;
}

.search-from-inner .error:after {
    position: absolute;
    content: "\f071";
    font: normal normal normal 17px/1 FontAwesome;
    top: 14px;
    left: 14px;
    color: #fff;
    text-indent: 0;
}

.search-from-inner .success {
    position: absolute;
    top: -55px;
    left: 0;
    right: 0;
    border: none;
    background: #d4edda;
    margin: 0;
    padding: 15px 55px;
    font-size: 14px;
    line-height: 15px;
    color: #155724;
    border-radius: 2px;
}

.search-from-inner .success:after {
    position: absolute;
    content: "\f00c";
    font: normal normal normal 17px/1 FontAwesome;
    top: 14px;
    left: 14px;
    text-indent: 0;
}

#payment_details {
    display: none;
}

.has-error input {
    /*background: rgba(166, 66, 66, 0.69);*/
}

.help-block {
    position: absolute;
    bottom: -30px;
    left: 0;
    color: red;
    min-width: 180px;
    text-align: left;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    height: 100%;
    display: none;
    background: rgba(0, 0, 0, 0.6);
}

.cv-spinner {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px #ddd solid;
    border-top: 4px #2e93e6 solid;
    border-radius: 50%;
    animation: sp-anime 0.8s infinite linear;
}

@keyframes sp-anime {
    100% {
        transform: rotate(360deg);
    }
}

.is-hide {
    display: none;
}

.payment-details .error {
    border: none;
    background: #c84e4e;
    margin: 0;
    padding: 15px 55px;
    font-size: 14px;
    line-height: 15px;
    color: #fff;
    border-radius: 2px;
    width: 100%;
    float: left;
}

.sub-text {
    margin: 5px 0 0 0;
}

#payby-debit-response {
    margin-top: 20px;
}

#payby-debit-response.success {
    color: #4F8A10;
}

#payby-debit-response.error {
    color: #D8000C;
}
