/*login page notice about new site. Remove when no longer needed*/
.page-id-83 .notice {
    background: #58c35840;
    padding: 10px 15px;
    font-size: 16px;
    border: #64b964f7;
    border-width: 2px;
    border-style: solid;
    border-radius: 10px;
    margin-top: 30px;
    margin-bottom: 40px;
}

/* --- MY ACCOUNT WOOCOMMERCE VERSION --- */
.woocommerce-account #content {
    max-width: 100% !important;
    padding-inline-start: 0px !important;
    padding-inline-end: 0px !important;
    min-height: 600px;
}

.logged-in.woocommerce-account .woocommerce {
    display: grid;
    grid-template-columns: 0px 300px 1fr 0px;
    width: 100%;
    transition-duration: 300ms;
}

.woocommerce-account .woocommerce>div {
    float: none;
}

/* -- HIDE ON ACCOUNT PAGE -- */
body.woocommerce-account .questions,
body.woocommerce-account .footer-oc {
    display: none;
}

/* Hide the duplicated order number heading on the view order page */
.woocommerce-account.woocommerce-view-order .page-header,
.woocommerce-notices-wrapper+ul.woocommerce-error:has(+ h1.woocommerce-order-title) {
    display: none;
}

.woocommerce-account.woocommerce-view-order #portal_body {
    padding-top: 20px;
}

/* Load more on order list page, hide orders not loaded */
.hidden-order {
    display: none;
}

#load-more-orders {
    display: none;
}

/* -- PORTAL TRAY -- */
#portal_tray a {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
}

#portal_tray .woocommerce-MyAccount-navigation {
    float: none;
    width: 100%;
}

#portal_tray ul {
    list-style: none;
    padding: 0;
    margin-left: 0;
}

.woocommerce-account #content.nq-close .woocommerce {
    display: grid;
    grid-template-columns: 0px 100px 1fr 0px;
}

#portal_tray {
    width: 300px;
    transition-duration: 300ms;
    z-index: 9;
}

.tray-heading h5 {
    color: #fff;
    font-size: 28px;
    text-transform: uppercase;
    font-weight: 600;
    transition-delay: 300ms;
    white-space: nowrap;
}

#content .nav li a {
    overflow: hidden;
    white-space: nowrap;
}

.tray-show-hide {
    transition-duration: 500ms;
    cursor: pointer;
}

#content.nq-close .tray-show-hide {
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}

.tray-heading {
    position: relative;
    height: 60px;
}

.tray-footer {
    margin-top: auto;
    font-size: 16px;
    color: #fff;
}

.tray-show-hide {
    color: #fff;
    height: 46px;
    width: 44.5px;
    font-size: 20px;
    position: absolute;
    right: -10px;
    top: 4px;
    padding: 9px 16px;
}

#tray-navigation ul {
    list-style: none;
    padding: 0;
}

#portal_tray .is-active a {
    color: #ffe22b;
}

#portal_tray .woocommerce-MyAccount-navigation-link a,
#portal_tray li.log-out a {
    display: block;
    margin-bottom: 8px;
}

#portal_tray .woocommerce-MyAccount-navigation-link a:hover,
#portal_tray li.log-out a:hover {
    color: #ffe22b;
}

#portal_tray .woocommerce-MyAccount-navigation-link a::before,
#portal_tray li.log-out a::before {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-weight: 300;
    font-size: 1.35em;
    margin-right: 17px;
    width: 33px;
    text-align: center;
    vertical-align: middle;
}

#portal_tray .woocommerce-MyAccount-navigation-link--dashboard a::before {
    font-family: "Font Awesome 6 Pro";
    content: "\e3af";
}

#portal_tray .woocommerce-MyAccount-navigation-link--orders a::before {
    font-family: "Font Awesome 6 Pro";
    content: "\f07a";
}

#portal_tray .woocommerce-MyAccount-navigation-link--edit-address a::before {
    font-family: "Font Awesome 6 Pro";
    content: "\f2bb";
}

#portal_tray .woocommerce-MyAccount-navigation-link--payment-methods a::before {
    font-family: "Font Awesome 6 Pro";
    content: "\24";
}

#portal_tray .woocommerce-MyAccount-navigation-link--subscriptions a::before {
    font-family: "Font Awesome 6 Pro";
    content: "\f017";
}

#portal_tray .woocommerce-MyAccount-navigation-link--edit-account a::before {
    font-family: "Font Awesome 6 Pro";
    content: "\f023";
}

#portal_tray li.log-out a::before {
    font-family: "Font Awesome 6 Pro";
    content: "\f08b";
}

#portal_tray nav li {
    position: relative;
}

#portal_tray nav li.is-active::after {
    content: "";
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 17px solid #F2F2F2;
    position: absolute;
    right: -15px;
    top: 5px;
}

#portal_body .m-label {
    display: none;
    font-weight: bold;
}

#tab-passwords .password-update>div {
    position: relative;
}

.toggle-password {
    position: absolute;
}

/* -- PORTAL BODY -- */
#portal_body button,
#portal_body .button,
.woocommerce #portal_body button,
#portal_body button.button.alt#place_order,
#content .woocommerce-button {
    font-weight: 600;
    color: #0072bc;
    background-color: #F2F2F2;
    border-style: solid;
    border-width: 2px 2px 2px 2px;
    border-color: #0072bc;
    border-radius: 50px 50px 50px 50px;
    padding: 2px 30px;
    /* margin-top: 34px; */
    font-size: 18px;
    line-height: 1.5em;
}

.button.wcs_deletion_error {
    background: #696969 !important;
    border-color: #696969 !important;
    color: #fff !important;
}

.button.wcs_deletion_error:hover {
    color: #CACFD4 !important;
}

#portal_body .woocommerce-message .button,
#content .woocommerce-button {
    margin-top: 0px;
}

#portal_body .button.pay,
#portal_body .button.reactivate {
    background: #0072bc;
    border-color: #0072bc;
    color: #F2F2F2;
}

#portal_body button:hover,
#portal_body button:focus,
#portal_body .button:hover,
#portal_body .button:focus,
.woocommerce #portal_body button:hover,
#portal_body button.button.alt#place_order:hover,
.woocommerce #portal_body button:focus,
#portal_body button.button.alt#place_order:focus,
#content .woocommerce-button:hover,
#content .woocommerce-button:focus {
    color: #F2F2F2;
    background-color: #0072bc;
}

#portal_body .button.pay:hover,
#portal_body .button.pay:focus,
#portal_body .button.reactivate:hover,
#portal_body .button.reactivate:focus {
    background: #F2F2F2;
    border-color: #0072bc;
    color: #0072bc;
}

#portal_body #add_payment_method #payment div.payment_box input.input-text,
#portal_body #add_payment_method #payment div.payment_box textarea,
#portal_body .woocommerce-cart #payment div.payment_box input.input-text,
#portal_body .woocommerce-cart #payment div.payment_box textarea,
#portal_body .woocommerce-checkout #payment div.payment_box input.input-text,
#portal_body .woocommerce-checkout #payment div.payment_box textarea,
.lost_password a {
    font-size: 18px;
}

.select2-container--default .select2-selection--single {
    background: #fff;
    border-radius: 0px;
    padding: 9px 16px;
    height: auto;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 48px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #696969;
}

.shop_table_responsive th,
.shop_table_responsive td {
    background: transparent !important;
}

/* - LOGIN - */
.woocommerce-account:not(.logged-in) .entry-title {
    display: none;
}

.woocommerce form.login {
    padding: 0px 0px 20px 0px;
    margin-top: 0px;
}

.woocommerce-account:not(.logged-in) .woocommerce {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0px 20px 60px 20px;
}

#content .woocommerce-form-login {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    border: none;
}

#content .woocommerce-notices-wrapper+h2 {
    text-align: center;
}

#customer_login__title {
    text-align: center;
}

#customer_login__title hr {
    height: 4px;
    border: none;
    background: #0072bc;
    margin: 40px 0px;
}

.woocommerce-account:not(.logged-in) .woocommerce .woocommerce-privacy-policy-text,
.woocommerce-account:not(.logged-in) .woocommerce .woocommerce-privacy-policy-text a {
    font-size: 16px;
    line-height: 1.4em;
}

.woocommerce-account:not(.logged-in) .woocommerce .woocommerce-form-row+p {
    font-size: 18px;
    line-height: 1.4em;
}

#portal_body .button.delete {
    color: #0072bc;
    background-color: #F2F2F2;
}

#portal_body .button.delete:hover,
#portal_body .button.delete:focus {
    background-color: #ddd;
}

#content .woocommerce-form-login__submit {
    background-color: #F26522 !important;
    border-color: #F26522 !important;
    color: #fff;
}

#content .woocommerce-form-login__submit:hover,
#content .woocommerce-form-login__submit:focus {
    background-color: #fff !important;
    color: #F26522 !important;
}

.nq-login--register button {
    padding: 2px 30px;
    font-size: 18px;
    margin-top: 20px;
}

.woocommerce-form-login.login label,
.lost_reset_password label {
    font-size: 24px;
    letter-spacing: -0.65px;
    line-height: 1.25 !important;
    font-weight: 700;
    margin-bottom: 8px;
}

.woocommerce-form-login.login label.woocommerce-form-login__rememberme {
    font-size: 18px;
    line-height: 2 !important;
    font-weight: 400;
}

.woocommerce-account .woocommerce-notices-wrapper {
    display: block;
}

/* --- REGISTER --- */
.register-message {
    border: 2px solid #0072bc;
    border-top: 9px solid #0072bc;
    padding: 1em;
    max-width: 600px;
    margin: 20px auto;
}

.register-message h4 {
    font-weight: bold;
}

/* --- LOST PASSWORD --- */
.woocommerce-lost-password #content {
    max-width: 756px !important;
}

.woocommerce-lost-password h1 {
    position: relative !important;
    padding: 40px 20px 0px 0px;
}

.woocommerce-lost-password.woocommerce-account:not(.logged-in) .woocommerce {
    padding: 0px 20px 20px 20px !important;
}

.woocommerce-lost-password .lost_reset_password .form-row-first {
    width: 100% !important;
}

.woocommerce-lost-password .lost_reset_password button {
    color: #FFFFFF;
    background-color: #F26522;
    border-style: solid;
    border-width: 3px 3px 3px 3px;
    border-color: #F26522;
    border-radius: 50px 50px 50px 50px;
    padding: 4px 28px 4px 28px;
}

.woocommerce-lost-password .lost_reset_password button:hover,
.woocommerce-lost-password .lost_reset_password button:focus {
    background: #fff;
    color: #F26522;
}

.woocommerce-lost-password .woocommerce {
    min-height: auto !important;
    margin-bottom: 40px;
}

/*New customer portal styles*/
#portal_tray {
    background-color: #165C81;
    padding: 15px;
    padding-left: 35px;
    display: grid;
    grid-template-rows: max-content;
    color: #fff;
    line-height: 1.4;
    min-height: 600px;
}

#portal_body {
    padding: 115px 40px 50px 40px;
    background-color: #F2F2F2;
    float: none;
    width: 100%;
    font-size: 16px;
    line-height: 1.4em;
}

#tray-navigation ul {
    margin-left: 0;
}

#tray-navigation ul li {
    list-style-type: none;
    line-height: 2.10em;
}

#tray-navigation ul li a {
    color: #0072bc;
    font-size: 20px;
    line-height: 42px;
}

#tray-navigation ul li a:hover {
    color: #008590;
}

#portal_body .tab {
    display: none;
}

#portal_body .tab.active {
    display: block;
}

.woocommerce form .form-row .required {
    color: #DB0000 !important;
}

/*Style for locked payment options (these output as spans instead of anchors)*/
.payment-edit span.locked,
.payment-delete span.locked {
    color: grey;
}

/*Portal Modals*/
/* The Modal (background) */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 99;
    /* Sit on top */
    padding-top: 200px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 60%;
}

.modal-content .left {
    position: relative;
    width: 40%;
    padding-right: 15px;
    float: left;
}

.modal-content .right {
    position: relative;
    width: 60%;
    padding-left: 15px;
    float: right;
}

.modal-content .change-form {
    display: none;
}

#change-btns {
    margin-bottom: 15px;
}

#subs-change-submit {
    text-align: right;
}

#next-shipment {
    padding-top: 30px;
}

.modal-content .left-50 {
    position: relative;
    width: 50%;
    padding-left: 15px;
    float: left;
}

.modal-content .right-50 {
    position: relative;
    width: 50%;
    padding-left: 15px;
    float: right;
}

.modal-content #change-subs {
    clear: both;
}

.change-form.active {
    display: block;
}

/* The Close Button */
.close {
    color: #757575;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.nq-error {
    color: #ed0707;
}

/* .woocommerce #content {
    display: grid;
    grid-template-columns: fit-content(300px) 1fr;
    min-height: 100vh;
    min-height: calc(100vh - 200px);
    width: 100%;
    transition-duration: 300ms;
} */
#content .woocommerce .btn,
#content .woocommerce .btn-blue {
    background: #007BB3;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    padding: 10px 15px;
    color: #fff !important;
    font-weight: normal;
    display: inline-block;
    margin-bottom: 2em;
}

/* --- WELCOME --- */
.tab-heading h3 {
    text-transform: uppercase;
}

#portal_body h3 {
    font-size: 28px;
    font-weight: normal;
    line-height: normal;
    letter-spacing: normal;
}

#portal_body p,
#portal_body a,
#portal_body li {
    font-size: 18px;
}

#portal_body .salutation {
    font-size: 24px;
    line-height: normal;
    font-weight: bold;
}

.welcome-options>p {
    text-align: center;
}

.welcome-options--list {
    display: grid;
    grid-template-columns: 1fr auto;
    max-width: 650px;
    margin: 10px auto 40px auto;
}

.welcome-options--list a {
    text-decoration: underline;
}

.welcome-info {
    display: grid;
    grid-template-columns: 245px 1fr;
    margin-bottom: 40px;
}

.welcome-info div:last-child {
    padding-left: 45px;
}

#portal_body button.btn-account {
    background: #007BB3;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    padding: 10px 15px;
}

#portal_body button.btn-account:hover {
    border: none;
    box-shadow: none;
    color: #fff;
}

/* --- ORDERS --- */
.single-order .btn {
    margin-bottom: 0px;
}

.orders-heading {
    padding: 1em;
    border-bottom: 1px solid #979797;
    margin-bottom: 1em;
}

.orders-heading,
.s-o--heading {
    display: grid;
    grid-template-columns: 170px 150px auto 140px 200px 140px;
    padding: 16px;
}

.s-o-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1em;
    opacity: 0;
    height: 0;
    overflow: hidden;
    padding: 0 1em;
}

.s-o-details.active {
    opacity: 1;
    height: fit-content;
    overflow: visible;
}

.orders-heading div {
    font-weight: bold;
    font-size: 18px;
}

.s-o-details.active {
    opacity: 1;
    height: auto;
}

.single-order {
    font-size: 16px;
    background: #fff;
    box-shadow: 0 2px 4px 0 rgb(0 0 0 / 50%);
    margin-bottom: 1em;
}

.s-o-product span,
.s-o-pricing span {
    font-weight: bold;
}

.s-o-product {
    border-bottom: 1px solid #979797;
    padding-bottom: 0.5em;
    margin-bottom: 0.5em;
}

.s-o-details--item div:last-child {
    border: none;
}

table tbody>tr:hover:nth-child(even)>td,
table tbody>tr:hover:nth-child(even)>th,
table tbody>tr:hover:nth-child(odd)>td,
table tbody>tr:hover:nth-child(odd)>th {
    background-color: transparent !important;
    background: transparent !important;
}

/*hide pay button on completed orders*/
.woocommerce-orders-table__row--status-completed .woocommerce-button.button.pay,
.woocommerce-orders-table__row--status-processing .woocommerce-button.button.pay,
.woocommerce-orders-table__row--status-refunded .woocommerce-button.button.pay,
.woocommerce-orders-table__row--status-shipped .woocommerce-button.button.pay,
.woocommerce-orders-table__row--status-cancelled .woocommerce-button.button.pay,
.woocommerce-orders-table__row--status-in-fulfillment .woocommerce-button.button.pay {
    display: none;
}

/* Product table styles */
.woocommerce-table--order-details {
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 5px;
    margin-bottom: 30px;
}

.woocommerce-table--order-details thead th {
    width: 50% !important;
}

/* Override bundle item border only in other contexts, not in order details */
.woocommerce-table--order-details,
.shop_table.order_details {
    border-bottom: 1px solid rgb(128 128 128 / 60%) !important;
}

/* New order summary container styles */
.order-summary-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

/* Common styles for both new tables */
.shipping-payment-details,
.order-totals-details {
    width: 100%;
    background-color: rgba(22 92 129 / 15%);
}

.woocommerce-view-subscription .order-totals-details {
    width: 100%;
}

.shipping-payment-details {
    background-color: #F2F2F2;
}

.shipping-payment-details th,
.order-totals-details th {
    text-align: left;
    padding: 8px 5px 8px 20px;
    border: none;
    font-size: 16px;
    width: 32%;
}

.shipping-payment-details td,
.order-totals-details td {
    padding: 8px 20px 8px 5px;
    border: none;
}

.shipping-payment-details tr,
.order-totals-details tr,
.shipping-payment-details tr:nth-child(odd)>td,
.shipping-payment-details tr:nth-child(odd)>th,
.order-totals-details tr:nth-child(odd)>td,
.order-totals-details tr:nth-child(odd)>th,
.order-totals-details tr:hover>td,
.order-totals-details tr:hover>th,
.shipping-payment-details tr:hover>td,
.shipping-payment-details tr:hover>th {
    background-color: transparent !important;
}

/* Total row styling */
.order-total-row.order_total th,
.order-total-row.order_total td {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #165C81;
}

@media only screen and (max-width: 1024px) {

    .shipping-payment-details,
    .order-totals-details {
        width: 90%;
    }
}

@media only screen and (max-width: 768px) {
    .order-summary-container {
        grid-template-columns: 1fr;
    }

    .shipping-payment-details,
    .order-totals-details {
        width: 100%;
    }
}

/*-- Subscription Status --*/
span.subscription-status {
    font-size: 26px;
    font-weight: bold;
    text-transform: uppercase;
    display: flex;
    align-items: flex-end;
    margin-top: -20px;
    margin-bottom: 20px;
}

.subs-info--outer i {
    margin-left: 5px;
}

/* --- SUBSCRIPTION DETAILS --- */
.shop_table.subscription_details {
    border-top: 1.5px solid hsla(0, 0%, 50.2%, .5019607843) !important;
    border-radius: 0px !important;
}

#change-shipment-date-button,
#change-frequency-button {
    padding: 0px 10px !important;
    width: max-content;
}

#change-shipment-date-button:hover,
#change-frequency-button:hover,
#change-shipment-date-button:focus,
#change-frequency-button:focus {
    color: #0072bc94 !important;
}

#portal_body .sub-actions .button {
    padding: 2px 24px;
    line-height: 1.3em;
    margin-right: 8px;
}

#portal_body #change-shipment-date-form.nq-hidden,
#portal_body #change-frequency-form.nq-hidden,
#portal_body #next-shipment-date.nq-hidden,
#portal_body #change-shipment-date-button.nq-hidden,
#portal_body #current-frequency.nq-hidden,
#portal_body #change-frequency-button.nq-hidden {
    display: none;
}

#portal_body #change-shipment-date-form,
#portal_body #change-frequency-form {
    display: flex;
    align-items: center;
}

#portal_body #change-shipment-date-form #next_payment_date,
#portal_body #change-frequency-form #billing_interval,
#portal_body #change-frequency-form #billing_period {
    width: min-content;
    margin-right: 10px;
}

#portal_body .button.sub-form-saves {
    background-color: #007cba;
    color: white;
    margin: 0px 5px;
}

#portal_body .button.sub-form-saves,
#portal_body .button.sub-form-cancel {
    padding: 2px 12px;
    font-size: 16px;
}

/* -- save button spinner --*/
.nq-hidden {
    display: none;
}

button.sub-form-saves {
    position: relative;
    padding-right: 30px;
    /* Space for spinner */
}

button.sub-form-saves svg {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

@media only screen and (max-width: 768px) {

    #portal_body #change-shipment-date-form #next_payment_date,
    #portal_body #change-frequency-form #billing_interval,
    #portal_body #change-frequency-form #billing_period {
        padding: 8px 10px;
        font-size: 14px;
    }

    #portal_body #change-shipment-date-form,
    #portal_body #change-frequency-form {
        flex-flow: wrap;
    }

    #portal_body #change-shipment-date-form #next_payment_date {
        width: 200px;
    }

    #portal_body .button.sub-form-saves,
    #portal_body .button.sub-form-cancel {
        width: fit-content;
        margin: 0px;
        margin-right: 5px;
    }
}

@media only screen and (max-width: 550px) {

    #portal_body #change-shipment-date-form #next_payment_date,
    #portal_body #change-frequency-form #billing_interval,
    #portal_body #change-frequency-form #billing_period {
        margin-bottom: 10px;
    }
}

@media only screen and (max-width: 360px) {

    #portal_body #change-shipment-date-form #next_payment_date,
    #portal_body #change-frequency-form #billing_interval,
    #portal_body #change-frequency-form #billing_period {
        margin-right: 5px;
    }
}

/* Full-Screen Subscription Saver Popup */
body.no-scroll {
    overflow: hidden;
    height: 100vh;
}

.subscription-saver-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.subscription-saver-content {
    background: #fff;
    width: 100%;
    height: 100%;
}

.sub-saver-form {
    padding: 50px 0px 30px 0px;
    width: 40%;
    height: calc(100dvh - 160px);
    margin: auto;
    display: flex;
    justify-content: center;
    position: relative;
}

.sub-saver-top-banner,
.sub-saver-bottom-banner {
    padding: 20px 30px;
    background: #000;
    display: flex
}

.sub-saver-top-banner img {
    width: 200px;
    margin: auto;
}

.sub-saver-form #gf_progressbar_wrapper_26 {
    display: none !important;
}

.sub-saver-form .gfield_label {
    font-size: 24px !important;
    text-align: center;
    margin-bottom: 30px !important;
}

/* Hide default radio button */
.sub-saver-form input[type="radio"] {
    display: none !important;
}

/* Style label to look like a button */
.sub-saver-form input[type="radio"]+label {
    background-color: black;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    min-width: 235px;
    max-width: none !important;
    margin: 5px;
    transition: all 0.3s ease-in-out;
    border: 2px solid transparent;
    text-align: center;
}

.sub-saver-form input[type="radio"]+label:hover {
    background-color: #0072bc;
}

.sub-saver-form input[type="radio"]:checked+label {
    background-color: #0072bc;
    color: #fff;
}

/* Make the radio buttons stack in 2 columns */
.sub-saver-form .gfield_radio {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-row-gap: 10px;
}

.sub-saver-form .gfield_radio .gchoice {
    justify-self: center;
}

.sub-saver-form .gfield_radio .gchoice:nth-child(odd):last-of-type {
    grid-column: span 2;
}

.sub-saver-bottom-banner {
    justify-content: center;
}

.close-popup {
    background: none;
    border: none;
}

/* After form submission overlay and spinner */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #ccc;
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Hide Gravity Forms Next and Submit buttons */
.sub-saver-form .gform_next_button,
.sub-saver-form .gform_previous_button,
.sub-saver-form .gform_button[type="submit"] {
    visibility: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

#gform_page_26_8 .gform-page-footer {
    padding: 0px !important;
}

/* Show Next button ONLY on the text area page */
.sub-saver-form #gform_page_26_8 .gform-page-footer {
    display: flex;
    justify-content: flex-end;
}

.sub-saver-form #gform_page_26_8 .gform_next_button {
    visibility: visible !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
}

/* form page spinner Styling */
/* Hide Gravity Forms' default spinner */
#gform_ajax_spinner_26 {
    display: none !important;
}

/* Custom spinner for form navigation */
.sub-saver-form .gform-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 8px solid rgba(0, 123, 255, 0.2);
    border-top-color: #007BFF;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    position: absolute;
    right: 46.5%;
}

/* Specific positioning for certain pages if needed */
.sub-saver-form #gform_page_26_8 .gform-spinner {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* Fixes the rotation issue */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* -- Full screen subscription saver popup mobile styles -- */
@media only screen and (max-width: 1200px) {
    .sub-saver-form {
        width: 500px;
    }
}

@media only screen and (max-width: 500px) {
    .sub-saver-form {
        width: 95%;
        padding: 30px 0px !important;
    }

    .sub-saver-form .gfield_radio {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .sub-saver-form input[type="radio"]+label {
        margin-bottom: 10px !important;
    }

    .sub-saver-form .gform-spinner {
        bottom: 10px !important;
        right: 44%;
    }

    @media not all and (min-resolution:.001dpcm) {
        @supports (-webkit-appearance:none) {
            .sub-saver-top-banner img {
                width: 120px;
                height: 30px;
                margin: 0px;
            }

            .sub-saver-top-banner,
            .sub-saver-bottom-banner {
                justify-content: center;
            }

            .sub-saver-form {
                height: auto !important;
            }
        }
    }
}

/* --- ADDRESSES --- */
/* .addresses {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 1em;
} */
.address {
    font-size: 16px;
    background: #fff;
    box-shadow: 0 2px 4px 0 rgb(0 0 0 / 50%);
    margin-bottom: 1em;
    position: relative;
    padding: 1em;
    font-weight: bold;
}

.address-edit {
    position: absolute;
    top: 1em;
    right: 1em;
    font-weight: normal;
    text-decoration: underline;
}

/* --- PAYMENT --- */
.payment-heading,
.payment {
    grid-template-columns: 170px 200px 200px auto 100px 100px;
    display: grid;
}

.payment {
    padding: 16px;
    font-size: 16px;
    background: #fff;
    box-shadow: 0 2px 4px 0 rgb(0 0 0 / 50%);
    margin-bottom: 1em;
}

.payment-heading {
    border-bottom: 1px solid #979797;
    margin-bottom: 0.5em;
    padding-bottom: 0.5em;
}

.payment a {
    text-decoration: underline;
}

input#delete-card-confirm {
    cursor: auto;
}

table.woocommerce-MyAccount-paymentMethods td.woocommerce-PaymentMethod--actions {
    text-align: left !important;
}

/* --- SUBSCRIPTIONS --- */
.subscriptions-heading,
.single-subscription .s-o--heading {
    grid-template-columns: 350px 200px 200px auto 250px 100px;
    display: grid;
    padding: 16px;
}

.subscriptions-heading {
    border-bottom: 1px solid #979797;
    margin-bottom: 0.5em;
    padding-bottom: 0.5em;
    font-weight: bold;
}

.subdetail-toggle {
    display: grid;
    grid-template-columns: 20px 1fr;
    padding-right: 15px;
}

.single-subscription {
    padding: 16px;
    font-size: 16px;
    background: #fff;
    box-shadow: 0 2px 4px 0 rgb(0 0 0 / 50%);
    margin-bottom: 1em;
}

#active_subscriptions {
    margin-bottom: 50px;
}

#cancelled_subscriptions .single-subscription {
    background: #f7f7f7;
    color: #707070;
}

#cancelled_subscriptions .single-subscription .subdetail-toggle span:last-child {
    color: #707070 !important;
}

/* Hide the cancel button if the subscription is on hold */
.subscription-status.on-hold~table.subscription_details tr:has(td.sub-actions) {
    display: none !important;
}

.single-subscription .s-o--heading {
    padding: 0px;
}

.sub-o--details {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    height: 0;
    opacity: 0;
    overflow: hidden;
    border-top: 1px solid #979797;
}

.sub-o--details.active {
    height: fit-content;
    opacity: 1;
    overflow: visible;
    padding-top: 20px;
}

.sub-o--details span {
    font-weight: bold;
}

#subs-change-submit p {
    font-size: 18px !important;
    font-weight: 600;
}

#subs-change-submit p::before {
    content: "\21";
    font-family: "Font Awesome 6 Pro";
    font-weight: 400;
    color: white;
    background-color: #007BB3;
    border-radius: 50px;
    padding: 3px 10px;
    margin-right: 5px;
}

a.button.suspend {
    display: none;
}

.subscription_details .button {
    margin-top: 0px !important;
}

ul.wc-item-meta {
    display: none !important;
}

/* -- TOOLTIP FOR SUBSCRIPTIONS -- */
.subs-info--outer {
    display: inline-block;
    position: relative;
}

.subs-info--outer i {
    padding: 0em 0.2em;
}

.subs-info--outer .fa-circle-exclamation,
.subs-info--outer .fa-circle-info,
.subs-info--outer .fa-circle-check,
.subs-info--outer .fa-circle-x {
    font-size: 20px;
}

.subs-info--outer .fa-circle-exclamation,
.subscription-status.on-hold {
    color: #c51d1d;
}

.subs-info--outer .fa-circle-info,
.subscription-status.pending-cancel {
    color: #11417d;
}

.subs-info--outer .fa-circle-check,
.subscription-status.active {
    color: #72be44;
}

.subs-info--outer .fa-circle-x,
.subscription-status.cancelled {
    color: gray;
}

.subs-info {
    position: relative;
    display: none;
}

.subs-info--inner {
    position: absolute;
    top: 15px;
    left: -10px;
    background: #fff;
    padding: 10px;
    font-size: 14px;
    font-weight: normal;
    text-transform: none;
    border: 2px solid #696969;
    width: max-content;
    z-index: 9;
    max-width: 200px;
    color: #000;
    text-wrap: wrap;
    text-align: left;
}

.subs-info--outer:hover .subs-info {
    display: block;
}

.subs-info:after {
    content: "";
    position: absolute;
    top: -15px;
    left: 1px;
    border: 18px solid transparent;
    border-bottom-color: #696969;
}

/* --- PASSWORD RESET --- */
.woocommerce-lost-password.woocommerce-account .entry-title {
    display: none;
}

.woocommerce-lost-password.woocommerce-account .woocommerce {
    display: block !important;
}

.woocommerce-lost-password .woocommerce-ResetPassword.lost_reset_password .woocommerce-form-row--last.form-row-last {
    width: 100% !important;
}

/* --- PASSWORD --- */
.password-update {
    max-width: 600px;
    display: grid;
    font-size: 18px;
    grid-template-columns: 1fr 2fr;
    text-align: right;
    column-gap: 16px;
    grid-row-gap: 16px;
}

.btn-grey {
    background: #bebebe;
    color: #4d4d4d !important;
    font-weight: 500;
}

.woocommerce-account .woocommerce-EditAccountForm .woocommerce-Button {
    margin-top: 20px;
}

/* ---- Portal Modals ----*/
.modal-content,
.modal-content p {
    font-family: 'Roboto', sans-serif;
    font-size: 16px !important;
}

.modal-content input,
.modal-content select {
    margin-bottom: 15px;
    /* font-family: 'Roboto', sans-serif; */
    /* font-size: 16px; */
    color: #979797;
    background-color: #fff;
    border: 1px solid #979797;
    min-height: 48px;
}

.modal-content select {
    padding-top: 14px;
}

.modal-content label {
    margin-bottom: 5px;
    /* font-family: 'Roboto', sans-serif;
    font-size: 16px; */
    line-height: 24px;
}

.modal-content input[type="checkbox"] {
    min-height: 19px;
}

.modal-content button.btn.btn-blue {
    padding: 5px 15px;
    font-weight: 500;
    margin-bottom: 1em;
    margin-right: 5px;
}

.modal-content button.btn.btn-blue:hover,
.modal-content button.btn.btn-blue:focus {
    background-color: #007BB3;
    border: none;
    box-shadow: none;
}

.modal-content a.save>button.btn.btn-blue {
    text-transform: uppercase;
}

.modal-content a.cancel>button.btn.btn-blue {
    text-transform: uppercase;
    background-color: transparent;
    border: 1px solid #000;
    color: #000 !important;
}

.payment-modal-heading span {
    background-color: #fc0303 !important;
    padding: 3px 10px;
}

.payment-form input,
.payment-form select {
    cursor: not-allowed;
}

.payment-form input:hover,
.payment-form select:hover {
    box-shadow: none !important;
}

/* - PAYMENT - */
#add_payment_method #place_order {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    float: none !important;
    display: block;
    margin-top: 10px;
}

table.woocommerce-MyAccount-paymentMethods td.woocommerce-PaymentMethod--default mark {
    background: #007bb3;
}

#add_payment_method #payment {
    background: #F2F2F2;
}

.woocommerce-account .woocommerce-PaymentMethod .edit {
    display: none;
}

/* - ACCOUNT DETAILS - */
#portal_body .edit-account .form-row-last+.clear+.form-row-wide {
    display: none;
}

@media only screen and (max-width: 1550px) {

    .orders-heading,
    .s-o--heading {
        grid-template-columns: 140px 150px auto 140px 220px 140px;
    }
}

@media only screen and (max-width: 1499px) {

    .subscriptions-heading,
    .single-subscription .s-o--heading {
        grid-template-columns: 170px 110px 110px auto 150px 65px;
    }
}

@media only screen and (max-width: 1450px) {

    .orders-heading,
    .s-o--heading {
        grid-template-columns: 140px 150px auto 140px 160px 140px;
    }
}

@media only screen and (max-width: 1350px) {
    #customer-account-submenu {
        right: 0px;
        left: auto !important;
    }

    #customer-account-submenu::before,
    #customer-account-submenu::after {
        left: auto;
        right: 14px;
    }

    .orders-heading,
    .s-o--heading {
        grid-template-columns: 90px 100px auto 140px 160px 120px;
    }
}

@media only screen and (min-width: 1200px) {
    #content.nq-close #portal_tray {
        width: 100px;
        padding-left: 20px;
    }

    #content.nq-close .tray-heading h5 {
        display: none;
        opacity: 0;
        transition-delay: 0ms;
    }

    #content.nq-close nav span {
        display: none;
    }

    #content.nq-close .tray-footer {
        display: none;
    }

    #content.nq-close nav li a {
        width: 50px;
        height: 40px;
        overflow: hidden;
        transition-duration: 300ms;
    }

    .page-header .entry-title {
        margin-left: 340px;
        margin-top: 20px;
        position: absolute;
        transition: margin-left 200ms linear;
        max-width: 60vw;
    }

    #content.nq-close .page-header .entry-title {
        margin-left: 140px;
    }
}

@media only screen and (max-width: 1199px) {
    .woocommerce #content {
        display: block !important;
        background-color: #F2F2F2;
    }

    #portal_tray {
        position: absolute;
        left: -301px;
        transition: 300ms ease;
        padding-top: 0px;
        top: 110px;
        height: 90vh;
    }

    #portal_body {
        padding: 30px 20px 40px;
    }

    .tray-show-hide {
        background: #165C81;
        right: -60px;
    }

    .woocommerce #content.nq-close #portal_tray {
        left: 0;
    }

    .woocommerce #content.nq-close #portal_tray .tray-show-hide {
        right: -15px;
    }

    #portal_tray nav li.is-active::after {
        border-color: #165C81;
    }

    #content .tray-show-hide {
        -webkit-transform: scaleX(-1);
        transform: scaleX(-1);
    }

    #content.nq-close .tray-show-hide {
        -webkit-transform: scaleX(1);
        transform: scaleX(1);
    }

    .woocommerce-account .woocommerce {
        display: block !important;
    }

    .tray-show-hide {
        top: 0px;
    }

    .page-header .entry-title {
        margin-left: 50px;
        padding-left: 10px;
        max-width: 85vw;
    }
}

@media only screen and (max-width: 999px) {
    .woocommerce #content {
        display: block;
    }

    .tray-show-hide {
        right: -59px;
        background: #165C81;
    }

    #content .tray-show-hide {
        -webkit-transform: scaleX(-1);
        transform: scaleX(-1);
    }
}

@media only screen and (min-width: 980px) {
    #content .woocommerce-orders-table__cell-order-actions a {
        margin-right: 0.5em;
    }

    #content .woocommerce-orders-table__cell-order-actions {
        display: flex;
        flex-direction: row-reverse;
        justify-content: flex-end;
    }
}

@media only screen and (max-width: 980px) {
    #content .woocommerce-orders-table__cell-order-actions a:not(:first-child) {
        margin-left: 0.5em;
    }
}

@media only screen and (max-width: 899px) {
    #portal_body .m-label {
        display: block;
    }

    .s-o--heading {
        grid-template-columns: 1fr 1fr;
        grid-gap: 6px;
    }

    .s-o--heading :not(.m-label) {
        text-align: right;
    }

    .m-btn.m-btn-blue {
        background: #007BB3;
        border: none;
        border-radius: 5px;
        font-size: 16px;
        font-weight: 500;
        line-height: normal;
        padding: 10px 15px;
        color: #fff !important;
        font-weight: normal;
        display: inline-block;
    }

    .orders-heading {
        display: none;
    }

    .addresses {
        display: block;
    }

    .payment-heading {
        display: none;
    }

    .payments .payment {
        grid-template-columns: 1fr 1fr;
    }

    .modal-content {
        min-width: 95%;
    }

    .subscriptions-heading {
        display: none;
    }

    .single-subscription .s-o--heading {
        grid-template-columns: 1fr 1fr;
    }

    .d-label {
        display: none;
    }

    .subdetail-toggle {
        display: block;
    }

    .sub-o--details {
        grid-template-columns: 1fr 1fr;
        grid-gap: 10px;
    }

    .tab-heading>h3 {
        text-align: center;
        margin-bottom: 40px;
    }
}

@media only screen and (min-width: 768px) {

    .payment-edit div,
    .payment-delete div {
        display: block !important;
    }
}

@media only screen and (max-width: 768px) {
    .page-header .entry-title {
        font-size: 36px;
        letter-spacing: -0.75px;
    }

    #portal_tray {
        top: 125px;
    }
}

@media only screen and (max-width: 667px) {

    .welcome-options--list,
    .welcome-info {
        display: block;
    }

    .welcome-options>p {
        text-align: left;
    }

    .welcome-info img {
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
        display: block;
        padding: 20px;
    }

    .welcome-info div:last-child {
        padding-left: 0px;
    }

    #portal_body button.btn-account {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    #portal_body .button {
        margin-bottom: 9px;
    }

    #portal_body .woocommerce-message .woocommerce-Button {
        display: block;
        float: none;
        margin-top: 20px;
        max-width: fit-content;
    }
}

@media only screen and (max-width: 540px) {
    #tab-passwords .password-update {
        display: block;
        text-align: left;
    }

    .woocommerce form .form-row-first,
    .woocommerce-page form .form-row-first,
    .woocommerce form .form-row-last,
    .woocommerce-page form .form-row-last {
        float: none;
        width: 100%;
    }
}

@media only screen and (max-width: 480px) {
    #portal_tray {
        padding-bottom: 50px;
    }
}