/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 * write by : Haris Khan 
 * https://hariskhan.com.pk
 */

/* @import url('https://fonts.googleapis.com/css2?family=Jura:wght@500&display=swap'); 
 * 
 */

.payments_form {
    width: 32%;
	 padding-top: 60px;
    padding-bottom: 60px;
	margin:auto;
    font-family: "Segoe UI", "Open Sans",system,-apple-system,BlinkMacSystemFont,Roboto,Arial,FreeSans, sans-serif;
    display: inline-block;
    display: none;
	
}

.formswrapper {
    box-shadow: 1px 1px 5px -2px black;
    border-radius: 16px;
    /* overflow: hidden; */
}

h3.payment_title {
    color: #424242;
    font-family: "Segoe UI", "Open Sans",system,-apple-system,BlinkMacSystemFont,Roboto,Arial,FreeSans, sans-serif;
    margin: 18px 0px;
    font-size: 18px;
}

.paystep {
    background: #fff;
    padding-left: 10px;
    padding-right: 10px;
    /* overflow: hidden; */
    display: none;
}

.nextbtn {
    padding-bottom: 20px;
    overflow: hidden;
    padding-left: 10px;
    padding-right: 10px;
    font-family: "Segoe UI", "Open Sans",system,-apple-system,BlinkMacSystemFont,Roboto,Arial,FreeSans, sans-serif;
    height: fit-content;
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 7px;
}

.payment_top {
    background: linear-gradient(45deg, #066E8E, #00A0D2);
    height: 30px;
    border-radius: 16px 16px 0px 0px;
}

.pay_label {
    font-size: 14px;
    margin-bottom: 5px;
    display: inline-block;
    color: #019ccd;
    font-family: "Segoe UI", "Open Sans",system,-apple-system,BlinkMacSystemFont,Roboto,Arial,FreeSans, sans-serif;
}

.pay_time {
    display: flex;
    flex-direction: column;
    margin-top: 15px;
}

input#paytime {
    background: aliceblue;
    padding: 5px 18px;
    font-size: 14px;
    border-radius: 25px;
    height: 38px;
    border: 1px solid #019ccd38;
    color: #6f6f6f;
    outline: none;
}

#paymentbtn,
span.next-btn,
span.prev-btn {
    background: #057192;
    padding: 7px 25px;
    font-size: 15px;
    color: #fff;
    display: inline-block;
    margin-top: 20px;
    float: right;
    border-radius: 3px;
    cursor: pointer;
    user-select: none;
    font-family: "Segoe UI", "Open Sans",system,-apple-system,BlinkMacSystemFont,Roboto,Arial,FreeSans, sans-serif;
}

/* Step 2 */

input.pay_qty::-webkit-inner-spin-button {
    opacity: 1;
    margin: 0;
    height: 25px;
    cursor: pointer;
}

input.pay_qty {
    width: 28px !important;
    border: 1px solid black;
    outline: none;
    background: transparent !important;
    height: 22px;
    float: inherit;
    padding: 0 !important;
    text-align: center;

}

a.pay_button {
       height: 55px;
    width: 84%;
    margin-left: 35px;
     font-size: 25px;
    cursor: pointer;
    z-index: 999;
    -ms-flex-pack: center;
    justify-content: center;
    color: #fff;
    border-radius: 25px;
    padding: 13px;
    text-align: center;
    border-radius: 25px;
    background: linear-gradient(
45deg, #067091, #019dcd);
    color: #fff;
    border: 1px solid #ddd;
    display: inline-block;
     position: inherit;
    bottom: 15px;
}

a.pay_button:hover {
    opacity: .8;
}

table.pay_packages {
    border-collapse: collapse;
    width: 100%;
    margin: 0;
    text-align: left;
    font-family: 'Jura', sans-serif;
}

table.pay_packages thead {
    background: aliceblue;
}

table.pay_packages thead tr th {
    padding: 5px;
    color: #019dce;
    font-size: 16px;
    font-weight: 300;
    line-height: 16px !important;
    border: none;
}

table.pay_packages tbody tr td {
    padding: 5px;
    font-size: 14px;
    font-weight: 100;
}

table.pay_packages tbody tr td:last-child {
    text-align: right;
}

table.pay_packages tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

table.pay_packages {
    width: 100%;
    margin: 0;
    text-align: left;
    margin-bottom: 20px;
}

.pay_coupon {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-bottom: 18px;
    align-items: center;
}

.pay_coupon input {
    width: 115px !important;
    outline: 0px;
    padding: 3px 10px !important;
    height: 32px;
    margin: 0;
    color: #444 !important;
    border: 1px solid #369ece2e !important;
    background: aliceblue !important;
    border-radius: 25px !important;
    font-size: 12px;
    text-transform: uppercase;
    font-family: "Segoe UI", "Open Sans",system,-apple-system,BlinkMacSystemFont,Roboto,Arial,FreeSans, sans-serif;
}

span.apply_coupon {
    padding: 3px 10px;
    line-height: 14px;
    font-size: 14px;
    height: 32px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    background: #067294;
    color: #fff;
    border-radius: 25px;
    border: 1px solid #f0f8ff;
    cursor: pointer;
    user-select: none;
    font-family: "Segoe UI", "Open Sans",system,-apple-system,BlinkMacSystemFont,Roboto,Arial,FreeSans, sans-serif;
}

.total_results {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

table.pay_total {
    width: fit-content;
    min-width: 55%;
    text-align: left;
    font-size: 14px;
    font-family: "Segoe UI", "Open Sans",system,-apple-system,BlinkMacSystemFont,Roboto,Arial,FreeSans, sans-serif;
}

.card_details .input-grp,
.info_form .input-grp {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
    gap: 5px;
}

.card_details .input-grp label,
.info_form .input-grp label {
    color: #019dce;
    font-size: 14px;
    font-weight: 600;
}

.card_details .input-grp input,
.info_form .input-grp input,
.info_form .input-grp select,
.field {
    outline: 0px;
    padding: 3px 16px;
    height: 38px;
    max-width: 100%;
    margin: 0;
    color: #444;
    border: 1px solid #369ece2e;
    background: aliceblue;
    border-radius: 25px;
    font-size: 16px;
    font-family: "Segoe UI", "Open Sans",system,-apple-system,BlinkMacSystemFont,Roboto,Arial,FreeSans, sans-serif;
}

.card_details .input-grp input::placeholder,
.info_form .input-grp input::placeholder {
    font-size: 14px;
}

.info_form .input-grp select {
    height: 38px;
}

.dots {
    position: relative;
    width: 100px;
    height: fit-content;
    display: inline-flex;
    justify-content: space-around;
    align-items: center;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: #019dce;
}

.dotico .dot {
    animation: loadanim 0.5s ease alternate infinite;
    border-radius: 50%;
}

.dotico .dot:nth-child(1) {
    animation-delay: 0.25s;
}

.dotico .dot:nth-child(2) {
    animation-delay: 0.5s;
}

.dotico .dot:nth-child(3) {
    animation-delay: 0.75s;
}

.dotico .dot:nth-child(4) {
    animation-delay: 1s;
}

.visible_form {
    display: block;
}

@keyframes loadanim {
    0% {
        transform: translateZ(0);
        filter: blur(0);
        opacity: 1;
    }

    100% {
        transform: translateZ(-30px);
        filter: blur(10px);
        opacity: 0;
    }
}

.payments_alert,
.coupon_alert {
    margin: 20px 0px;
    padding: 0px 10px;
}

.alertbox {
    padding: 5px;
    border: 1px solid #ddd;
    border-left-width: 3px;
    display: flex;
    align-items: flex-start;
    gap: 5px;
}

.alertbox p {
    margin: 0;
    padding: 0;
    font-size: 14px;
}

.alertbox.success_alert {
    border-left-color: #388e3c;
    color: #388e3c;
}

.alertbox.error_alert {
    border-left-color: #ffaf90;
    color: #cd0101;
}

.alertbox svg {
    width: 28px;
    height: fit-content;
}

.alertbox.error_alert svg {
    fill: #ffaf90;
}

table.ui-datepicker-calendar tr a {
    box-shadow: unset !important;
    -webkit-box-shadow: unset !important;
}

a.ui-datepicker-prev,
.ui-datepicker-next {
    border: none !important;
    box-shadow: unset !important;
}

.payments_form input::placeholder {
    color: #949494;
}

.form_elm_none {
    display: none !important;
}

@media screen and (max-width: 600px) {
    .ui-datepicker {
        width: 100% !important;
    }

    .payments_form {
        min-width: 100%;
        max-width: 100%;
        margin: 0 auto;
        margin-top: 50px;
        margin-bottom: 50px;
    }
}

.outcome {
    float: left;
    width: 100%;
    padding-top: 8px;
    min-height: 24px;
    text-align: center;
}

.success,
.error {
    display: none;
    font-size: 13px;
}

.success.visible,
.error.visible {
    display: inline;
}

.error {
    color: #E4584C;
}

.success {
    color: #666EE8;
}

.success .token {
    font-weight: 500;
    font-size: 13px;
}

.ui-datepicker {
    width: unset !important;
}

/* Invoice */
.invoice-card {
    display: flex;
    font-family: "Segoe UI", "Open Sans",system,-apple-system,BlinkMacSystemFont,Roboto,Arial,FreeSans, sans-serif;
    flex-direction: column;
    padding: 10px 2em;
    min-height: fit-content;
    width: auto;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0px 10px 30px 5px rgb(0 0 0 / 15%);
}
.headInfo {
    display: flex;
    flex-direction: column;
    margin-bottom: 8px;
}

.invoice-card>div {
    margin: 5px 0;
}

.invoice-title {
    flex: 3;
}

.invoice-title #date {
    display: block;
    margin: 8px 0;
    font-size: 12px;
}

.invoice-title #main-title {
    display: flex;
    justify-content: space-between;
    margin-top: 2em;
}

.invoice-title #main-title h4 {
    letter-spacing: 2.5px;
    color: #019ccd;
    margin-bottom: 0;
}
.invoice-title #main-title .headInfo small a{
    border: none;
    box-shadow: none;
    outline: none;
    text-decoration: underline;
}

.invoice-title span {
    color: rgba(0, 0, 0, 0.4);
}

.invoice-details {
    flex: 1;
    border-top: 0.5px dashed grey;
    display: flex;
    align-items: center;
}

.invoice-table {
    width: 100%;
    border-collapse: collapse;
}
table.order-table {
    width: 55%;
    float: right;
    font-size: 16px;
}
.invoice-table thead tr td {
    font-size: 16px;
    letter-spacing: 1px;
    color: #019ccd;
    font-weight: 500;
    padding: 8px 0;
}

.invoice-table thead tr td:nth-last-child(1),
.row-data td:nth-last-child(1),
.calc-row td:nth-last-child(1) {
    text-align: right;
}

table.order-table thead tr td:nth-last-child(1),
table.order-table .row-data td:nth-last-child(1),
table.order-table .calc-row td:nth-last-child(1) {
    text-align: left;
}

.invoice-table tbody tr td {
    padding: 8px 0;
    letter-spacing: 0;
}

.invoice-table .unit {
    text-align: center;
}

.invoice-table .row-data span {
    font-size: 13px;
    color: rgba(0, 0, 0, 0.6);
}

.invoice-footer {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.btn-invoice {
    border: none;
    padding: 5px 0px;
    background: none;
    cursor: pointer;
    letter-spacing: 1px;
    outline: none;
}

.btn-invoice.btn-primary {
    color: white;
}

.btn-invoice.btn-primary:hover{
    opacity: .8;
    background-color: transparent;
}
.btn-invoice.btn-primary:focus{
    background-color: transparent;
}