/* --- MY ACCOUNT CUSTOMER PORTAL v1.0.0 --- */
/* --- 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;
}

/* -- PORTAL TRAY -- */
#portal_tray a {
    color: #454241;
    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: #00818e;
    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: #454241;
}
.tray-show-hide {
    color: #454241;
    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: #11417d;
}
#portal_tray .woocommerce-MyAccount-navigation-link a, #portal_tray li.affiliate-portal a, #portal_tray li.log-out a {
    display: block;
    margin-bottom: 8px;
}
#portal_tray .woocommerce-MyAccount-navigation-link a:hover, #portal_tray li.affiliate-portal a:hover, #portal_tray li.log-out a:hover {
    color: #11417d;
}
#portal_tray .woocommerce-MyAccount-navigation-link a::before, #portal_tray li.affiliate-portal 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.affiliate-portal a::before {
    font-family: "Font Awesome 6 Pro";
    content: "\f2b5";
}
#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 #e8ecf0;
    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: #11417d;
    background-color: #fff;
    border-style: solid;
    border-width: 2px 2px 2px 2px;
    border-color: #11417d;
    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: #00818e;
    border-color: #00818e;
    color: #fff;
}
#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: #fff;
    background-color: #11417d;
    border-color: #fff;
}
#portal_body .button.pay:hover, #portal_body .button.pay:focus, #portal_body .button.reactivate:hover, #portal_body .button.reactivate:focus {
    background: #fff;
    border-color: #00818e;
    color: #00818e;
}
#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;
}
/* - 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: 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: #0c0d0e;
    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: #11417d;
    background-color: #fff;
}
/*New customer portal styles*/
#portal_tray{
    background-color: #fff;
    padding: 15px;
    padding-left: 35px;
    display: grid;
    grid-template-rows: max-content;
    color: #11417d;
    line-height: 1.4;
    border-right: 2px solid #e8ecf0;
    min-height: 630px;
}
#portal_body{
    padding: 115px 40px 50px 40px;
    background-color: #fff;
    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: #11417d;
    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;
}
/*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;
} */
.woocommerce .btn, .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;
}

/* --- ORDERS --- */
/* 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: 80%;
    background-color: rgba(222, 238, 240, 0.9); /* #DEEEF0 with slight opacity */
    border-radius: 20px;
}

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

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

.shipping-payment-details td,
.order-totals-details td {
    padding: 8px 20px;
    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: #00818e;
}

@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%;
    }
}
/*--- Hide post purchase survey in customer portal (the order conf and order pages share the same template) ---*/
.woocommerce-account #post-purchase-survey {
    display: none;
}
/* --- 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;
}
.woocommerce-account .woocommerce-PaymentMethod .edit {
    display: none;
}
/* --- 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;
}
.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;
}

/*-- 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: #00818e !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;
    font-size: 16px;
}
#portal_body .button.sub-form-saves {
    background-color: #00818e; 
    color: white; 
    margin: 0px 5px;
    border: 2px solid #00818e;
}
#portal_body .button.sub-form-saves:hover {
    background-color: #fff;
    color: #00818e;
    border: 2px solid #00818e;
}
#portal_body .button.sub-form-cancel:hover {
    border: 2px solid #11417d;
}
#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;
    }
}

/* --- PASSWORD RESET --- */
.woocommerce-lost-password.woocommerce-account .entry-title {
    display: block;
    margin-left: 0px;
}
.woocommerce-lost-password.woocommerce-account .woocommerce {
    display: block !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;
}
table.woocommerce-MyAccount-paymentMethods td.woocommerce-PaymentMethod--default mark {
    background: #007bb3;
}
/* - 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;
    }
    #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: #e8ecf0;
        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: #fff;
    }
    #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: #e8ecf0;
    }
    #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;
    }
    .subs-info--inner {
        right: -15px;
        left: inherit;
        text-align: left !important;
    }
    #portal_tray {
        top: 178px;
        height: 84vh;
    }
}
@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;
    }
}