/**
Theme Name: Direct Health Shop
Author: Direct Health Shop
Author URI: http://www.directhealthshop.com
Description: No Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: direct-health-shop
Template: astra
*/

body, button, input, select, textarea, .ast-button, .ast-custom-button {
    font-family: 'Open Sans',sans-serif;
}

@media (max-width: 768px){
  .ast-left-sidebar #content>.ast-container{
      -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
      flex-wrap: wrap;
      -webkit-box-orient: horizontal;
      -webkit-box-direction: normal;
      -webkit-flex-direction: row;
      -moz-box-orient: horizontal;
      -moz-box-direction: normal;
      -ms-flex-direction: row;
      flex-direction: row;
  }
}

@media (min-width: 769px) {
    .main-header-menu .sub-menu .menu-item.focus>.sub-menu,
    .main-header-menu .sub-menu .menu-item:hover>.sub-menu {
        width: 400px;
        column-count: 2;
        column-gap: 5px;
    }
}

/*
  Custom Autoship CSS
  Flip the Order of the Autoship options so that Autoship & Save is first.
*/
form .autoship-schedule-options {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    width:100%;
}

form .autoship-schedule-options > .autoship-type {
    width: 100%;
    display: block;
}
form .autoship-schedule-options > .autoship-type.autoship-yes {
    -webkit-box-ordinal-group: 1;
    -ms-flex-order: 1;
    order: 1;
}
form .autoship-schedule-options > .autoship-type.autoship-yes ~ .autoship-frequency {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 2;
    order: 2;
}
form .autoship-schedule-options > .autoship-type.autoship-no {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 3;
    order: 3;
}

#masthead .ast-above-header .ast-container {
    padding: 0;
}

#masthead .ast-above-header .ast-flex,
#masthead .ast-above-header .ast-flex > .ast-header-html{
    width: 100%;
}

.shipment-guarantee--container.card.card-default .card-header.arrow a.shipment-guarantee__contextual-help {
    left: calc( 100% - 23px )
}

.facetwp-selections ul {
    margin: 0;
}

.facetwp-selections li {
    border: 1px solid #000;
    border-radius: 20px;
    padding: 5px 12px;
}

.facetwp-selections li .facetwp-selection-label {
    display: none;
}

.woocommerce .woocommerce-ordering {
    margin-bottom: 5px;
}

.facetwp-facet input.facetwp-search,
.facetwp-facet input.facetwp-location,
.facetwp-input-wrap{
    width: 100%;
}
.woocommerce-info, .woocommerce-message {
    background-color: #ecf4ff;
    font-size: 1.2rem;
  font-weight: bold;
}

@media only screen and (min-width: 768px) {
    .kyan-promotions--flash-alert-bar .kyan-promotions__columns:first-child {
        text-align:center
    }
    .kyan-promotions--flash-alert-bar .kyan-promotions__columns:first-child:not(:last-child) {
        text-align: left;
    }
}

.kyan-promotions .kyan-promotions__disclaimer {
    margin-top: -1.75em;
}

.kyan-promotions .kyan-promotions__disclaimer * {
    font-size: 12px;
    color: var(--alert-text-color);
}

.ast-header-break-point.ast-woocommerce-cart-menu .ast-site-header-cart {
    padding: 0;
}

.products .yotpo-star-ratings-clickable,
.products .yotpo-reviews-star-ratings-widget {
    justify-content: center !important;
    margin: 10px 0 0 !important;
}

.dhs-autoship-notice-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    width: 100%;
    margin-bottom: 25px;
}

.dhs-autoship-notice-container img {
    max-width: 40px;
    margin: 0 35px 0 20px;
}

.dhs-autoship-notice-container__image-line {
    border-bottom: 2px solid #e5e5e5;
    margin-bottom: 5px;
    padding-bottom: 8px;
}

.dhs-autoship-notice-container__image-line img {
    max-width: 325px;
    width: 100%;
    margin: 0;
}

.dhs-autoship-notice-container__top-line {
    font-size: 17px;
    font-family: 'Open Sans', sans-serif;
    color: var(--ast-global-color-0);
    line-height: 1.2;
    display: flex;
    align-items: center;
}

.dhs-autoship-notice-container__bottom-line {
    position: relative;
    font-size: 18px;
    font-family: 'Open Sans', sans-serif;
    color: var(--ast-global-color-0);
    font-weight: bold;
    line-height: 1.2;
    border-bottom: 3px solid #e5e5e5;
    padding-bottom: 10px;
}

.dhs-autoship-notice-container__bottom-line::after {
    content:'';
    position: absolute;
    top: 100%;
    left: 0;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #e5e5e5;
}

.dhs-autoship-notice-container__button-container {
    position: relative;
    top: 10px;
    display: inline-block;
    vertical-align: sub;
    margin-bottom: -13px;
    margin-top: -2px;
    margin-left: 7px;
}

.dhs-autoship-notice-container__button-container .ast-button {
    max-width: 97px;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    z-index: 2;
    position: relative;
}

.dhs-autoship-notice-container__button-container .ast-button i {
    font-size: 23px;
    vertical-align: middle;
    margin-right: 5px;
}

.dhs-autoship-notice-container__inner {
    max-width: 285px;
    font-size: 21px;
}

.dhs-autoship-notice-container__top-line .dhs-autoship-notice-container__button-container {
    margin-top: 0;
    top: 0;
    margin-bottom: 0;
}

.ast-search-icon {
    line-height: 0;
    background-color: var(--ast-global-color-0);
    border-radius: 50%;
    height: 28px;
    width: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ast-search-icon .ast-icon.icon-search  svg {
    margin: 2px 1px 0 0;
}

.ast-search-icon svg path {
    fill: #fff;
}

/* Hide the WooPayments card fields on checkout (18734003144273) */
.payment_method_woocommerce_payments {
    display: none;
}

.astra-shop-summary-wrap span.price {
    display: flex !important;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
}

.astra-shop-summary-wrap .simpleshopmessage {
        order: 1;
    font-weight: 400;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    width: 100%;
    height: auto;
    font-size: 14px;
    border-top: 1px solid #cccccc;
    padding-top: 10px;
    margin-top: 10px;
    color: #000;
}

.astra-shop-summary-wrap .simpleshopmessage .fa {
    color: #e7a800;
    margin-right: 5px;
    font-size: 16px;
}

.astra-shop-summary-wrap .amount {
    order: 0;
}

.woocommerce div.product p.price .simpleshopmessage {
    order: 1;
    width: 100%;
    display: block;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    height: auto;
    margin: 10px 0;
    padding: 10px 0 12px;
    font-weight: 400;
    font-size: 17px;
    color: #000;
}

.woocommerce div.product p.price .amount {
    order: 0;
}

.woocommerce div.product p.price {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.woocommerce div.product p.price .simpleshopmessage .fa-award {
    font-size: 24px;
    margin-right: 10px;
    color: #e7a800;
    vertical-align: text-top;
}

body.woocommerce-account {
    background-color: #fff;
}

body.woocommerce-account .site-header {
    border-bottom: 1px solid var(--ast-border-color);
}

.rs-container {
    border: 1px solid var(--ast-border-color);
    margin-bottom: 20px;
    padding: 20px 30px 10px;
    display: none;
}

.rs-container--myrewards_table,
.rs-container--referral_table,
.rs-container--generate_referral_link,
.rs-container--email_subscribe_link {
    display: block;
}

.rs-container h2,
.rs-container h3 {
    margin: -20px -30px 30px;
    background-color: #fbfbfb;
    padding: 20px 30px;
    border-bottom: 1px solid var(--ast-border-color);
    font-size: 1.3rem;
}

.rs-container--myrewards_table .my_reward_total {
    display: none;
}

.rs-container--myrewards_table label {
    margin-right: 10px;
}

body.woocommerce-account .entry-header {
    display: flex;
    align-items: center;
}

body.woocommerce-account .entry-header h1 {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid var(--ast-border-color);
    margin-bottom: 5px;
}

body.woocommerce-account .entry-header .my_reward_total {
    font-size: 18px;
    text-transform: uppercase;
}

body.woocommerce-account .entry-header .my_reward_total .fa {
    color: #e7a800;
    margin-right: 5px;
    font-size: 22px;
}

body .woocommerce-MyAccount-navigation-link a {
    color: var(--ast-global-color-0);
}

body .woocommerce-MyAccount-navigation-link.is-active a,
body .woocommerce-MyAccount-navigation-link a:hover,
body .woocommerce-MyAccount-navigation-link a:focus {
    background-color: var(--ast-global-color-0);
    color: #000;
}

.woocommerce-MyAccount-navigation-link a::before {
    font: var(--fa-font-solid);
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    margin-right: 18px;
    width: 20px;
    text-align: center;
    color: #000;
}

.woocommerce-MyAccount-navigation-link--dashboard a::before {
    content: '\f013';
}

.woocommerce-MyAccount-navigation-link--orders a::before {
    content: '\f466';
}

.woocommerce-MyAccount-navigation-link--direct-health-rewards a::before {
    content: '\f559';
}

.woocommerce-MyAccount-navigation-link--edit-address a::before {
    content: '\f5a0';
}

.woocommerce-MyAccount-navigation-link--payment-methods a::before {
    content: '\f53d';
}

.woocommerce-MyAccount-navigation-link--edit-account a::before {
    content: '\f2bb';
}

.woocommerce-MyAccount-navigation-link--scheduled-orders a::before {
    content: '\f274';
}

.woocommerce-MyAccount-navigation-link--customer-logout a::before {
    content: '\f52b';
}

.woocommerce-MyAccount-navigation-link--subscriptions a::before {
    content: '\f2f1';
}

.woocommerce-MyAccount-navigation-link--woocommerce-waitlist a::before {
    content: '\f46d';
}

.woocommerce table.shop_table,
.woocommerce-cart .cart-collaterals .cart_totals,
form #order_review:not(.elementor-widget-woocommerce-checkout-page #order_review) {
    background-color: #fff;
}

form #order_review_heading:not(.elementor-widget-woocommerce-checkout-page #order_review_heading) {
    background-color: #fbfbfb;
    border-bottom: 1px solid var(--ast-border-color);
}

.shipment-guarantee--container.card.card-default .card-header.arrow .card-title {
    margin-left: -20px;
    margin-right: -20px;
    background-color: #fbfbfb;
    border-bottom: 1px solid var(--ast-border-color);
}

.shipment-guarantee--container.card.card-default .card-header.arrow .card-title a {
    font-size: 1.2rem;
    color: #000;
}

.shipment-guarantee--container.card.card-default .card-header.arrow a.shipment-guarantee__contextual-help {
    left: calc(100% - 45px);
}

.woocommerce-cart .cart-collaterals .cart_totals>h2:not(.card-title) {
    border-top: 1px solid var(--ast-border-color);
}

.woocommerce-page.woocommerce-checkout #payment div.payment_box,
.woocommerce.woocommerce-checkout #payment div.payment_box {
    background-color: transparent;
    border: 1px solid var(--ast-border-color);
    border-radius: 5px;
    margin-bottom: 0;
    padding-bottom: 0;
}

.woocommerce-page.woocommerce-checkout form #order_review td.product-name,
.woocommerce.woocommerce-checkout form #order_review td.product-name {
    padding-right: 25%;
}

.woocommerce-page.woocommerce-checkout #payment div.payment_box fieldset, .woocommerce.woocommerce-checkout #payment div.payment_box fieldset {
    border: 0;
}

.rs_social_buttons {
    display: grid;
    justify-content: center;
    grid-row-gap: 2px;
}

.rs_social_buttons br {
    display: none;
}

.rs_social_buttons #share_wrapper_static_url {
    display: inline-block;
    text-align: center;
}

.rs_social_buttons .toggle-email-share-button {
    margin: 0;
}

.woocommerce-js .woocommerce table.shop_table {
    margin-bottom: 22px;
}

.woocommerce-after-cart-table {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 24px;
    border: 1px solid var(--ast-border-color);
    padding: 16px 16px 0;
}

.woocommerce-after-cart-table .rs_warning_message {
    width: 100%;
    text-align: right;
}

.woocommerce-after-cart-table .coupon,
.woocommerce-after-cart-table .fp_apply_reward {
    margin-bottom: 16px;
}

.woocommerce-after-cart-table .fp_apply_reward label {
    visibility: hidden;
    width: 0;
    height: 0;
    overflow: hidden;
    display: block;
}

.woocommerce div.product .wcsatt-options-prompt-action .subscription-price {
    font-weight: 400;
    font-size: 1rem;
    margin: 0;
}

.woocommerce-page table.shop_table_responsive tbody .recurring-totals th {
    background-color: #fbfbfb;
    font-weight: bold;
    font-size: 1.1rem;
    border: 1px solid var(--ast-border-color);
}

.woocommerce-page table.shop_table tfoot .recurring-totals th {
    background-color: #fbfbfb;
    font-weight: bold;
    font-size: 1.1rem;
    border: 1px solid var(--ast-border-color) !important;
    text-align: left !important;
    padding-left: 12px !important;
}

.woocommerce .woocommerce-cart-form .wcsatt-options {
    display: block;
    width: 100%;
    margin-top: 5px;
}

.wjecf-select-free-products li {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.wjecf-select-free-products .select-free-product-image-container {
    width: 25%;
}

.wjecf-select-free-products .select-free-product-image-container img {
    width: 100% !important;
}

.wjecf-select-free-products .select-free-product-input-container {
    width: 70%;
}

.wjecf-select-free-products .select-free-product-input-container label {
    display: block;
    font-size: 19px;
    font-weight: bold;
    font-family: 'Merriweather',serif;
    margin-bottom: 10px;
}

.wjecf-fragment-checkout-select-free-product > .wjecf-select-free-products {
    background-color: #fff;
    border: 2px solid var(--ast-border-color);
    padding: 20px 20px 0;
    margin-bottom: 30px;
}

.woocommerce-MyAccount-content .woocommerce-Address-title {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    padding: 1em !important;
}

.woocommerce-MyAccount-content .woocommerce-Address-title h2 {
    font-size: 18px;
    margin: 0;
    padding: 0;
}

.woocommerce-MyAccount-content .woocommerce-Address-title::before,
.woocommerce-MyAccount-content .woocommerce-Address-title::after {
    display: none !important;
}

.woocommerce-MyAccount-content .woocommerce-Address-title a {
    padding: 0 !important;
}

.woocommerce-js div.product p.price ins,
.woocommerce-js div.product span.price ins {
    margin-left: 10px;
}

.woocommerce-js ul.cart_list li>a,
.woocommerce-js ul.product_list_widget li>a {
    max-width: 90%;
}

.woocommerce-shipping-totals-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.woocommerce table.shop_table_responsive tr.shipping td::before,
.woocommerce-page table.shop_table_responsive tr.shipping td::before {
    display: none;
}

.woocommerce-shipping-totals-name {
    width: 25%;
    text-align: left;
}

.woocommerce-shipping-totals .woocommerce-shipping-methods,
.woocommerce-shipping-totals .woocommerce-shipping-destination {
    width: 58%;
}

.woocommerce-shipping-totals .woocommerce-shipping-destination {
    margin-left: auto;
    margin-top: 10px;
}

.woocommerce-shipping-totals .woocommerce-shipping-calculator {
    width: 100%;
}

a.shipping-calculator-button {
    text-align: center;
    width: 100%;
    display: block;
}

@media all and (max-width: 1285px) {
   .woocommerce-cart .woocommerce-shipping-totals-name {
        font-weight: 700;
    }
    .woocommerce-cart .woocommerce-shipping-totals-name::after {
        content: ':';
        position: relative;
        left: -3px;
    }

    a.shipping-calculator-button {
        text-align: right;
    }
}