/*!
Theme Name: Divi Child
Theme URI: http://www.elegantthemes.com/gallery/divi/
Version: 1.0
Author: Redline Digital
Author URI: http://www.redlineigital.com.au
Template: Divi
*/

.wbs-table-set .wbs-btn-qty {
    display: none !important;
}

.qty-err-msg {
    color: red;
    font-size: 70%;
}

ul.woocommerce-error {
    background-color: #c8102e !important;
}

/* Woo login/register */
#customer_login h2 {
    color: #fff !important;
}

#customer_login .woocommerce-form {
    background: #85754e;
    border-radius: 0;
    border: 0;
    color: #003a40;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 400;
}

#customer_login .form-row {
    padding: 0;
    margin: 10px 0;
}

#customer_login .woocommerce-form label {
    font-size: 16px;
    font-weight: 500;
}

#customer_login .woocommerce-form input,
#customer_login .woocommerce-form select,
#customer_login .woocommerce-form .select2-selection--single {
    border-radius: 0 !important;
    border: 0;
    padding: 10px;
    line-height: 1;
    height: auto;
    font-size: 14px;
    font-weight: 400;
}

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

#customer_login .woocommerce-form .select2-selection__rendered {
    line-height: 1;
    padding: 0;
}

#customer_login .woocommerce-privacy-policy-text {
    margin: 1.5em 0;
}

#customer_login .woocommerce-form-login__submit,
#customer_login .woocommerce-form-register__submit {
    border: 1px solid #fff !important;
    font-size: 16px;
    padding: 0.5em 3em !important;
}

#customer_login .woocommerce-form-login__submit,
#customer_login .woocommerce-form-login .woocommerce-form-login__rememberme {
    margin-top: 15px;
}

#customer_login .woocommerce-form-register__submit {
    background: #009a44 !important;
}

#customer_login .woocommerce-LostPassword {
    font-size: 13px;
    line-height: 1.3;
    margin: 1.5em 0;
    font-weight: 400;
}

/*
 * Bulk Order Form
 */

@media screen and (min-width: 769px) {
    .wbs-range-paging {
        justify-content: space-between;
    }

    .wbs-range-paging .wbs-range,
    .wbs-range-paging .div-paging {
        width: 40%;
    }
}

/* price range */
.wbs-range .wbs-min-max {
    color: #003a40;
    font-size: 14px;
    width: 55px;
}

.wbs-range .wbs-min-max::after {
    content: ' ($)';
}

.wbs-range .wbs-range-input {
    background: none;
    border: 1px solid #bbb;
    border-radius: 0;
    color: #003a40;
}

/* range */
.wbs-range .wbs-slider {
    background: #f2e4ce;
    height: 10px;
    width: 52% !important;
}

@media screen and (min-width: 769px) {
    .wbs-range .wbs-slider {
        width: 62% !important;
    }
}

.wbs-range .wbs-slider::-webkit-slider-thumb,
.wbs-range .wbs-slider::-moz-range-thumb {
    background: #c8102e;
    border: none;
    height: 20px;
    width: 20px;
}

/* pagination */
.div-paging a.prev-page,
.div-paging a.next-page,
.div-paging a.last-page {
    background: #f2e4ce;
    border-radius: 0;
    border: none;
    color: #003a40;
    font-size: 16px;
    text-decoration: none;
}

/* utils */
#wbs.wbs-head .wbs-col-50 {
    display: none !important;
}

@media screen and (min-width: 769px) {
    #wbs.wbs-head .wbs-col-25,
    #wbs.wbs-head .wbs-col-25-r {
        width: 40%;
    }
}

#wbs.wbs-head select {
    appearance: none;
    background-image: url('assets/images/icons/icon-arrow-down.svg');
    background-size: 10px;
    background-repeat: no-repeat;
    background-position: center right 15px;
    border-radius: 0;
    height: 45px;
    width: 100%;
}

#wbs.wbs-head #search {
    margin: 0;
}

#wbs.wbs-head .wbs_search_box {
    border: 1px solid #003a40;
    border-radius: 20px;
    padding: 0 10px 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#wbs.wbs-head .wbs_search_box input {
    border: none !important;
    float: none;
    padding: 12px 0;
    flex-grow: 1;
}

#wbs.wbs-head .wbs_search_box button {
    background: none !important;
    border: none !important;
    color: #003a40;
    float: none;
    font-size: 18px;
    padding: 9px 0;
    width: 43px;
}

#wbs.wbs-head .wbs_search_box button i {
    background: url('assets/images/icons/icon-search.svg') center no-repeat;
    background-size: contain;
    display: block;
    height: 18px;
    margin: 0 auto;
    width: 18px;
}

#wbs.wbs-head .wbs_search_box button i::before {
    content: none !important;
}

/* table head */
#wbs-table thead {
    background: #003a40;
}

#wbs-table thead th {
    padding-top: 1.5em;
    padding-bottom: 1.5em;
}

#wbs-table thead th,
#wbs-table thead th a {
    color: #fff !important;
    font-weight: 600;
}

#wbs-table thead #checkall {
    margin-top: 0;
}

#wbs-table thead .wbs-th-image {
    width: 90px;
}

#wbs-table tbody .product-thumbnail img {
    max-width: 80px !important;
}

#wbs-table .wbs-th-cart {
    width: 40px;
}

/* table body */
#wbs-table {
    border: none;
}

#wbs-table tbody {
    color: #003a40;
    font-size: 14px;
}

#wbs-table tbody tr {
    background: none !important;
}

#wbs-table tbody td {
    padding: 20px 4px !important;
}

#wbs-table tbody .wbs-product-bold {
    font-weight: 700;
}

#wbs-table .wbs-select::before {
    content: 'Qty type:';
    display: block;
    font-size: 12px;
    margin-top: 1px;
}

#wbs-table tbody select {
    appearance: none;
    background-image: url('assets/images/icons/icon-arrow-down.svg');
    background-size: 8px;
    background-repeat: no-repeat;
    background-position: center right 5px;
    border-radius: 0;
    font-size: 12px;
    margin: 0 0 5px;
    padding: 8px;
}

#wbs-table .wbs-select-variation {
    letter-spacing: normal;
    line-height: 1.2;
}

#wbs-table .wbs-input-qty {
    border: 1px solid #bbb;
    background: none;
    color: #003a40;
    margin: 0 auto;
    padding: 8px;
    text-align: center;
}

#wbs-table .wbs-btn-add-cart {
    font-size: 21px;
    padding: 0;
}

#wbs-table .wbs-hide-column {
    padding: 0 !important;
}

#wbs-table .wbs-input-total {
    color: #003a40;
    text-align: center;
    width: 100%;
}

#wbs-table input[type='number'].wbs-input-total::-webkit-inner-spin-button,
#wbs-table input[type='number'].wbs-input-total::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#wbs-table input[type='number'].wbs-input-total {
    -moz-appearance: textfield;
}

/* utils */
.wbs-add-cart #save {
    background: #c8102e;
    border: none;
    border-radius: 20px;
    color: #fff;
    font-size: 16px;
    padding: 0.75em 2em;
    width: auto !important;
}

#wbs-saving::before {
    animation: rotation 0.75s infinite linear !important;
    background: url('assets/images/icons/loading.svg') no-repeat center;
    background-size: contain;
    border: none;
    content: '';
    display: inline-block;
    height: 18px;
    width: 18px;
}

#wbs-saving #cart-saving {
    display: none !important;
}

.wbs-add-cart + .div-paging,
#wbs-saving + .div-paging {
    display: block;
    margin: 30px 0 0;
    padding: 0;
    width: 100%;
}

/* woocommerce cart */
.woocommerce-cart-form .actions .coupon {
    display: flex;
    align-items: center;
}

.woocommerce .woocommerce-cart-form .actions button,
.woocommerce .woocommerce-cart-form .actions .button,
.woocommerce .woocommerce-cart-form .actions button:disabled,
.woocommerce .woocommerce-cart-form .actions .button:disabled {
    border-radius: 32px;
    font-size: 14px;
    padding: 0.3em 1em 0.4em !important;
}

.woocommerce .woocommerce-cart-form .actions > .button {
    margin-top: 5px;
}

/* my account -> buy again */
.bya_buy_again_product_table .wc-item-meta {
    display: none !important;
}

.bya_product_table_container .bya_buy_again_product_table tbody td span {
    color: #c8102e;
}

.bya_product_table_container .bya_buy_again_product_table tbody td[data-title='Action'] {
    text-align: center;
}

.bya_buy_again_product_table .bya_add_to_cart_btn {
    font-size: 14px !important;
    white-space: nowrap;
}

/**
 * Woocommerce Cart Icon
 */
.et_pb_menu__cart-button {
    position: relative;
}

.et_pb_menu__cart-button .cart-count-wrap {
    border-radius: 100%;
    background: #003a40;
    display: none;
    position: absolute;
    right: -10px;
    top: -14px;
    height: 18px;
    width: 18px;
    justify-content: center;
    align-items: center;
}

.et_pb_menu__cart-button.has-items .cart-count-wrap {
    display: flex;
}

.et_pb_menu__cart-button .cart-count {
    font-family: 'Work Sans', Helvetica, Arial, Lucida, sans-serif;
    font-size: 11px;
    text-align: center;
    line-height: 1;
    color: #fff;
    padding-top: 1px;
    font-weight: 400;
}

.buy-again-heading {
    margin-bottom: 1em;
}

/* animation */
@keyframes rotation {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(359deg);
    }
}

/**
 * Cart page product notes
 */
.woocommerce-cart-form td.product-notes {
    max-width: 300px;
    position: relative;
    max-width: 350px;
}

.woocommerce-cart-form td.product-notes.is-editing .product-notes__saved {
    display: none;
}

.woocommerce-cart-form td.product-notes.is-editing .product-notes__form {
    display: block;
}

.woocommerce-cart-form td.product-notes.is-loading::after {
    content: '';
    background: url('assets/images/icons/loading.svg') no-repeat 50% #fff;
    background-size: 20px;
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.woocommerce-cart-form td.product-notes.has-note .abs-notes-delete {
    display: inline-block;
}

.product-notes__form {
    display: none;
}

.product-notes__form textarea {
    border-color: #e5e5e5;
    border-radius: 3px;
    margin-bottom: 0.5rem;
    min-height: auto;
    height: 5em;
    font-size: 14px;
    padding: 0.5rem;
    resize: vertical;
    width: 100%;
}

.product-notes__value {
    color: #666;
    font-size: 13px;
    line-height: 1.4 !important;
}

.woocommerce-cart-form td.product-notes.has-note .product-notes__ctas {
    margin-top: 1rem;
}

.product-notes__ctas button {
    background: #eee;
    border-radius: 32px;
    border: 1px solid #eee;
    display: inline-block;
    color: #000;
    font-size: 12px;
    padding: 0.3em 1em 0.4em;
    cursor: pointer;
    transition: all 300ms;
}

.product-notes__ctas button:hover {
    background: #ddd;
    border-color: #ddd;
}

.product-notes__ctas button.abs-notes-delete {
    display: none;
}

.product-notes__ctas button.abs-notes-delete:hover {
    background: #c8102e;
    border-color: #c8102e;
    color: #fff;
}
