/* region remove button*/
.woocommerce a.remove {
    color: #81bfa7 !important; /* WC makes the remove button's color red & !important */
    font-size: 100%; /* WC makes the remove button's font-size: 1em */
}

.woocommerce a.remove:hover {
    background-color: transparent; /* WC makes the remove button's hover background-color: red */
}

/* endregion*/

/* region wc-forward arrow */
/* was for some reason removed..? */
.wc-forward a:after, .wc-forward:after {
    font-family: WooCommerce;
    speak: none;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    margin-left: 7px;
    content: "\e029";
    font-size: .75em;
}

/* endregion */
/* region product list price font-size fix */
.woocommerce ul.products li.product .price {
    font-size: 18px;
}

/* endregion */

.woocommerce input#coupon_code {
    padding: 6px 6px 5px !important;
}

#add_payment_method .cart-collaterals .cart_totals table th, .woocommerce-cart .cart-collaterals .cart_totals table th, .woocommerce-checkout .cart-collaterals .cart_totals table th {
    width: 25%;
}

.shop_table_responsive .shipping span.woocommerce-Price-amount.amount,
.shop_table_responsive .shipping span.woocommerce-Price-amount.amount .woocommerce-Price-currencySymbol {
    color: #81bfa7 !important;
}

/*woocommerce-form__label woocommerce-form__label-for-checkbox inline*/
.woocommerce-form__label.woocommerce-form__label-for-checkbox span {
    color: white !important; /* fixes label span checkboxes being cyan */
}

/*.woocommerce form .form-row label span, .woocommerce-page form .form-row label span {*/
/*color: white !important; !* fixes 'Remember Me' check box being cyan *!*/
/*}*/

.woocommerce-account .main-content {
    margin-top: 0;
}

/* region fixes the margin-top being wrong for the first full-width section on the home page*/
#ajax-content-wrap > div.container-wrap > div > div > div.wpb_row.vc_row-fluid.vc_row.full-width-section.parallax_section.home-section-1.first-section.loaded {
    margin-top: -70px;
}

/* endregion */
/* region fixes admin-bar header having the wrong top spacing */
.admin-bar #header-outer, .logged-in.buddypress #header-outer {
    top: 28px !important;
}

/* endregion */
/* region restores the position of the frontpage image */
#ajax-content-wrap > div.container-wrap > div > div > div.wpb_row.vc_row-fluid.vc_row.full-width-section.parallax_section.home-section-1.first-section.loaded > div.row-bg-wrap.instance-0 > div > div {
    background-position: 50% 11px !important;
}

/* endregion */
/* region restores nav header spacing */
header#top nav > ul > li > a {
    padding-bottom: 25.5px !important;
    line-height: 35px !important;
}

/* endregion */
/* region remove min-height from header nav > ul */
header#top nav > ul {
    min-height: 0;
}

/* endregion */
/* region fixes the adminbar being under the scroll bar */
#wpadminbar { /* the z-index of the scrollbar is set to 10000000, while the adminbar is set to 100000 */
    z-index: 10000001 !important;
}

/* endregion */
/* region restores adminbar to previous wordpress 4.7 font */
#wpadminbar * {
    font: normal 13px/32px "Open Sans", sans-serif
}

/* endregion */
/* region restores line-height to addresses page in my-account */
.woocommerce-Address {
    line-height: 24px;
}

/* endregion */
/* region makes "Password Change" text in the Account details section of my-account white */
.woocommerce-MyAccount-content > form > fieldset > legend {
    padding-top: 15px;
    opacity: 0.7;
    color: white;
}

/* endregion */
/* region fixes broken icon for orders section in my-account */
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--orders a:before {
    content: "\f10a";
}

/* endregion */
/* region makes navigation more visible in my-account area */
.woocommerce-MyAccount-navigation ul li a {
    color: white;
    opacity: 0.7;
}

.woocommerce-MyAccount-navigation ul li a:hover {
    color: #81bfa7;
}

/* endregion */
/* region checkout payment box tweaks */
.woocommerce-checkout #payment div.payment_box, .woocommerce-checkout #payment div.payment_box:before {
    background-color: transparent;
    content: none;
}

input#payment_method_payment_express {
    display: initial !important; /* forces the radio button to show, even when it's the only option */
}

/* endregion */
/* region fixes the => being missing */
.wc-forward a:after, .wc-forward:after, .woocommerce .text_on_hover.product a.button.added:before, .woocommerce .text_on_hover.product button.button.added:before, .woocommerce .text_on_hover.product input.button.added:before, .woocommerce-page .text_on_hover.product a.button.added:before, .woocommerce-page .text_on_hover.product button.button.added:before, .woocommerce-page .text_on_hover.product input.button.added:before {
    content: "\e029" !important;
    margin-left: 7px !important;
}

/* endregion */
/* region fixes cart font size */
.cart-collaterals h2 {
    font-size: 18px !important;
    line-height: 44px !important;
}

/* endregion */
/* region restores proper cart table padding */
.woocommerce table.cart td {
    padding: 6px 12px !important;
}

/* endregion */
/* region fixes the alignment and size of the Coupon code input + apply button */
html .woocommerce #content table.cart td.actions .coupon, html .woocommerce table.cart td.actions .coupon, html .woocommerce-page #content table.cart td.actions .coupon, html .woocommerce-page table.cart td.actions .coupon {
    float: left;
    padding: initial;
    border: 0;
    text-align: right;
}

.woocommerce input#coupon_code {
    width: 120px !important;
    font-size: 14px;
    float: left !important;
}

/* endregion */
/* region stops update-cart button from being full width */
.woocommerce input[type="submit"][name="update_cart"], .woocommerce .span_4 input[type="submit"].checkout-button, .checkout input[type="submit"]#place_order, .woocommerce-cart .wc-proceed-to-checkout {
    width: initial !important;
}

/* endregion */
/* region remove pagination arrows */
@media not all, only screen and (-webkit-min-device-pixel-ratio: 1.5), not all, only screen and (min-resolution: 144dpi) {
    #pagination .prev a, #pagination .prev.inactive, #pagination .page-numbers.prev, .woocommerce nav.woocommerce-pagination ul li .page-numbers.prev,
    #pagination .next a, #pagination .next.inactive, #pagination .page-numbers.next, .woocommerce nav.woocommerce-pagination ul li .page-numbers.next {
        background-image: none !important;
    }
}

#pagination .prev a, #pagination .prev.inactive, #pagination .page-numbers.prev, .woocommerce nav.woocommerce-pagination ul li .page-numbers.prev,
#pagination .next a, #pagination .next.inactive, #pagination .page-numbers.next, .woocommerce nav.woocommerce-pagination ul li .page-numbers.next {
    background-image: none;
}

/* endregion */
/* region restore checkout col layout */
.checkout .col2-set .col-1,
.checkout .col2-set .col-2 {
    width: 48%;
}

.checkout .woocommerce-shipping-fields, .checkout .woocommerce-billing-fields {
    padding-right: 0;
}

/* endregion */
/* region remove the margin-top from the order_review section in the checkout */
.checkout #order_review {
    margin-top: 0;
}

/* endregion */
/* region fixes payment selection bubble not having a background color */
html .woocommerce #payment, html .woocommerce-page #payment {
    background: rgba(255, 255, 255, .1) !important;
}

/* endregion */
/* region product-summary fixes */
/* region product-summary nutritional table fixes */
.qv_nutrition_wrapper table {
    font-size: 12px !important;
    line-height: 24px !important;
}

/* endregion */
/* region product-summary close button position fix */
.mfp-close-btn-in .mfp-close {
    width: 44px !important;
    top: 0;
    line-height: 44px !important;
}

/* endregion */
/* region product-summary remove close button rotation animation */
.mfp-close-btn-in .mfp-close:hover {
    transform: rotate(0deg);
    -webkit-transform: rotate(00deg);
}

/* endregion */
/* endregion */
/* region woocommerce-message tweaks */
body .container .woocommerce-message a.button {
    line-height: 2em !important;
}

/* endregion */
/* region woocommerce product items fixes */
.woocommerce ul.products li.product h3, .woocommerce-page ul.products li.product h3,
.woocommerce ul.products li.product h2, .woocommerce-page ul.products li.product h2 {
    margin-top: 5px !important;
    font-size: 1em !important;
}

/* endregion */
/* region try and fix position of loading cog (re-center) */
.woocommerce #respond input#submit.loading:after, .woocommerce a.button.loading:after,
.woocommerce button.button.loading:after, .woocommerce input.button.loading:after {
    right: 1.25em !important;
    top: 0.5em !important;
}

/* endregion */
/* region fixes font & spacing/padding stuff */
.home-steps h3 {
    font-family: Quicksand !important;
}

h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.5px;
}

h2 {
    font-size: 22px;
    line-height: 36px;
    margin-bottom: 10px;
}

h3 {
    font-size: 19px;
    line-height: 34px;
    margin-bottom: 7px;
}

body, table {
    line-height: 24px !important;
}

.row .col h3 {
    line-height: 22px;
    margin-bottom: 12px; /* restores misc padding/spacing*/
}

.woocommerce-account .main-content h2 {
    font-family: Open Sans;
}

.woocommerce-account table ul strong {
    font-weight: bold !important;
}

.woocommerce-account table tbody .order-number {
    font-size: 20px;
    font-weight: bold;
}

/* endregion */
/* region table.woocommerce-checkout-review-order-table styling fixes */
body:not(.woocommerce-cart) .main-content table.woocommerce-checkout-review-order-table {
    background-color: transparent;
    border-collapse: separate;
}

body:not(.woocommerce-cart) .main-content table.woocommerce-checkout-review-order-table th,
body:not(.woocommerce-cart) .main-content table.woocommerce-checkout-review-order-table td {
    border-style: none;
    padding: 9px 12px;
    border-top: 1px solid rgba(0, 0, 0, .1) !important;
}

#order_review > table > thead > tr:nth-child(1) > th {
    border-top-style: none !important;
}

.woocommerce table.woocommerce-checkout-review-order-table,
.woocommerce-page table.woocommerce-checkout-review-order-table {
    border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    -o-border-radius: 0 !important;
    border: none !important;
}

body:not(.woocommerce-cart) .main-content table.woocommerce-checkout-review-order-table tr th:first-child,
body:not(.woocommerce-cart) .main-content table.woocommerce-checkout-review-order-table tr td:first-child {
    border-left-style: none;
    border-color: rgba(0, 0, 0, .1);
}

/* endregion */
/* region form#address_form styling fixes */

/* counters: body:not(.woocommerce-cart) .main-content table */
body:not(.woocommerce-cart) .main-content form#address_form table {
    background-color: transparent;
    border-collapse: separate;
}

/* counters: body:not(.woocommerce-cart) .main-content table tr:nth-child(2n+1) */
body:not(.woocommerce-cart) .main-content form#address_form table tr:nth-child(2n+1) {
    background-color: transparent;
}

body:not(.woocommerce-cart) .main-content form#address_form table th,
body:not(.woocommerce-cart) .main-content form#address_form table td {
    border-style: none;
    padding: 9px 12px;
    border-top: 1px solid rgba(0, 0, 0, .1) !important;
}

#order_review > table > thead > tr:nth-child(1) > th {
    border-top-style: none !important;
}

.woocommerce form#address_form table,
.woocommerce-page form#address_form table {
    border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    -o-border-radius: 0 !important;
    border: none !important;
}

body:not(.woocommerce-cart) .main-content form#address_form table tr th:first-child,
body:not(.woocommerce-cart) .main-content form#address_form table tr td:first-child {
    border-left-style: none;
    border-color: rgba(0, 0, 0, .1);
}

/* endregion */
/* region mixing nutrition calculator table fixes */
body:not(.woocommerce-cart) .main-content div.basket_widget table {
    margin: 0 0 5px;
    background-color: transparent;
    border-collapse: separate;
    border-spacing: 2px;
    border-top: none;
}

body:not(.woocommerce-cart) .main-content div.basket_widget table tr:nth-child(2n+1) {
    background-color: transparent;
}

body:not(.woocommerce-cart) .main-content div.basket_widget table th,
body:not(.woocommerce-cart) .main-content div.basket_widget table td {
    border-style: none;
    font-weight: normal;
    padding: 0;
    font-size: 100%;
}

.cart_list table tbody tr:nth-child(2) th { /* restore the dashed border separating the first two th's from the rest of the table */
    border-bottom: 1px dashed white !important;
    height: 30px;
}

.cart_list table:last-child { /* restore the dashed border separating the two tables */
    border-top: 1px dashed white !important;
    padding-top: 5px !important;
    line-height: 1.3em !important;
}

/* endregion */
/* region woocommerce-orders-table */
body:not(.woocommerce-cart) .main-content table.woocommerce-orders-table tr:nth-child(2n+1) {
    background-color: transparent;
}

body:not(.woocommerce-cart) .main-content table.woocommerce-orders-table {
    background-color: transparent;
    border-collapse: separate;
}

body:not(.woocommerce-cart) .main-content table.woocommerce-orders-table th,
body:not(.woocommerce-cart) .main-content table.woocommerce-orders-table td {
    border-style: none;
    padding: 4px 8px;
}

.woocommerce table.shop_table, .woocommerce-page table.woocommerce-orders-table {
    border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    -o-border-radius: 0 !important;
    border: none !important;
}

/* endregion */
/* region table my_account_orders */

body:not(.woocommerce-cart) .shop_table.my_account_orders ul {
    margin: 0;
    list-style: none;
}

body:not(.woocommerce-cart) .shop_table.my_account_orders ul li {
    list-style: none;
}

body:not(.woocommerce-cart) .main-content table.shop_table.my_account_orders tr:nth-child(2n+1) {
    background-color: transparent;
}

body:not(.woocommerce-cart) .main-content table.shop_table.my_account_orders {
    background-color: transparent;
    border-collapse: separate;
    font-size: .85em;
    border-spacing: 2px;
}

body:not(.woocommerce-cart) .main-content table.shop_table.my_account_orders th {
    padding: 4px 8px;
    border: none;
    border-bottom: 1px solid white;
}

body:not(.woocommerce-cart) .main-content table.shop_table.my_account_orders td {
    border-style: none;
    padding: 9px 12px;
}

.woocommerce table.shop_table, .woocommerce-page table.shop_table.my_account_orders {
    border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    -o-border-radius: 0 !important;
    border: none !important;
}

body:not(.woocommerce-cart) .main-content table.shop_table.my_account_orders tr th:first-child,
body:not(.woocommerce-cart) .main-content table.shop_table.my_account_orders tr td:first-child {
    border-left-style: none;
}

/* endregion */
/* region woocommerce-table--order-details */
body:not(.woocommerce-cart) .main-content table.woocommerce-table--order-details tr:nth-child(2n+1) {
    background-color: transparent;
}

body:not(.woocommerce-cart) .main-content table.woocommerce-table--order-details {
    background-color: transparent;
    border-collapse: separate;
}

body:not(.woocommerce-cart) .main-content table.woocommerce-table--order-details th,
body:not(.woocommerce-cart) .main-content table.woocommerce-table--order-details td {
    border-style: none;
    padding: 9px 12px;
}

.woocommerce table.shop_table, .woocommerce-page table.woocommerce-table--order-details {
    border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    -o-border-radius: 0 !important;
    border: none !important;
}

body:not(.woocommerce-cart) .main-content table.woocommerce-table--order-details tr th:first-child,
body:not(.woocommerce-cart) .main-content table.woocommerce-table--order-details tr td:first-child {
    border-left-style: none;
    border-color: rgba(0, 0, 0, .1);
}

/* endregion */
/* region woocommerce-table--customer-details */
.woocommerce-customer-details {
    padding-bottom: 30px;
}

.woocommerce table.shop_table tfoot td, .woocommerce table.shop_table tfoot th,
.woocommerce-page table.shop_table tfoot td, .woocommerce-page table.shop_table tfoot th {
    font-weight: 700;
    border-top: 1px solid rgba(0, 0, 0, .1);
}

body:not(.woocommerce-cart) .main-content table.woocommerce-table--customer-details tr:nth-child(2n+1) {
    background-color: transparent;
}

body:not(.woocommerce-cart) .main-content table.woocommerce-table--customer-details {
    background-color: transparent;
    border-collapse: separate;
}

body:not(.woocommerce-cart) .main-content table.woocommerce-table--customer-details th,
body:not(.woocommerce-cart) .main-content table.woocommerce-table--customer-details td {
    border-style: none;
    padding: 9px 12px;
}

.woocommerce table.shop_table, .woocommerce-page table.woocommerce-table--customer-details {
    border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    -o-border-radius: 0 !important;
    border: none !important;
}

body:not(.woocommerce-cart) .main-content table.woocommerce-table--customer-details tr th:first-child,
body:not(.woocommerce-cart) .main-content table.woocommerce-table--customer-details tr td:first-child {
    border-left-style: none;
    border-color: rgba(0, 0, 0, .1);
}

/* endregion */

.select2-container .select2-choice {
    height: 30px;
}
/* region makes update_cart button background darker */
.woocommerce input.button, .woocommerce-page input[name=update_cart].button {
	background-color: rgb(40, 40, 40) !important
}
/* endregion */
/* region fixes form input being invalid changing label to red */
.woocommerce form .form-row.woocommerce-invalid label {
    color: white;
}
/* endregion */
/* region reduce padding on woocommerce cart */
body.woocommerce-cart div.woocommerce,
body.woocommerce-checkout div.woocommerce {
	padding-top: 25px;
}
/* endregion */
