/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
.pi-custom-button {
    width: 100%;
    display: block !important;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    text-align: center;
    cursor: pointer;
}

.pi-thumbnail img {
    max-width: 60px !important;
}

.pi-quantity {
    max-width: 70px;
    text-align: center;
}

#pi-loading {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: url(../img/loading.svg) rgba(0, 0, 0, 0.2) no-repeat center center;
}

.pi-attribute-label {
    text-transform: capitalize;
}

.pi-row {
    display: block;
    padding: 10px 0;
}

.pi-col-12 {
    width: 100%;
    position: relative;
}

.pi-form-control {
    padding: 10px;
    width: 100%;
    display: block;
    border: 1px solid #ccc;
}

.pi-btn {
    padding: 10px 20px;
    background: #ee6443;
    color: #fff;
    border: 0px;
    cursor: pointer;
}

#pi-eqw-cart {
    position: fixed;
    z-index: 100000000;
    width: 40px;
    height: 40px;
}

#pi-eqw-cart.bottom-right {
    bottom: 20px;
    right: 20px;
}

#pi-eqw-cart.bottom-left {
    bottom: 20px;
    left: 20px;
}

#pi-eqw-cart.top-left {
    top: 20px;
    left: 20px;
}

#pi-eqw-cart.top-right {
    top: 20px;
    right: 20px;
}

#pi-eqw-cart .pi-count {
    position: absolute;
    top: -6px;
    left: 10px;
    width: 20px;
    height: 20px;
    background: #000;
    color: #fff;
    font-size: 14px;
    text-align: center;
    border-radius: 10px;
}

#pi-eqw-cart.pi_icon_relative {
    position: relative;
    display: inline-block;
    bottom: auto;
    right: auto;
}

#pi_tandc-error {
    position: absolute;
    right: 0;
}

label.error {
    background-color: #F00 !important;
    color: #fff !important;
    padding: 5px 10px;
}

#pi-eqw-enquiry-form {
    clear: both;
}

.button.add-to-enquiry-loop {
    margin: auto;
    max-width: 100%;
}

.pi-enquiry-on-out-of-stock {
    display: none !important;
}

.pi-enquiry-on-out-of-stock.pi-show-enq {
    display: block !important;
}

.add-to-enquiry.added {
    opacity: 1 !important;
}

.pi-enquiry-list-table td {
    padding: 15px 15px !important;
}

.pisol-eqw-cart-in-popup {
    background: #fff;
    width: 70%;
    margin: auto;
    padding: 20px;
    padding-top: 50px;
    position: relative;
}

span.eqw-popup-title {
    background: #F00;
    display: block;
    padding: 10px;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    color: #fff;
}

.pisol-eqw-cart-in-popup form {
    margin-bottom: 0px;
}

.pisol-eqw-cart-in-popup .woocommerce-notices-wrapper {
    margin-top: 10px;
}

.pisol-eqw-cart-in-popup .woocommerce-error,
.pisol-eqw-cart-in-popup .woocommerce-message {
    margin-bottom: 0px;
}

.pisol-eqw-cart-in-popup .woocommerce-error ul,
.pisol-eqw-cart-in-popup .woocommerce-error ul li {
    margin: 0px;
}

.pisol-eqw-cart-in-popup .shop_table {
    margin: 10px auto;
}

.pi-custom-button.loading {
    opacity: 0.5;
}

@media only screen and (max-width: 768px) {

    .woocommerce table.shop_table_responsive thead,
    .woocommerce-page table.shop_table_responsive thead {
        display: none
    }

    .woocommerce table.shop_table_responsive tbody tr:first-child td:first-child,
    .woocommerce-page table.shop_table_responsive tbody tr:first-child td:first-child {
        border-top: 0
    }

    .woocommerce table.shop_table_responsive tbody th,
    .woocommerce-page table.shop_table_responsive tbody th {
        display: none
    }

    .woocommerce table.shop_table_responsive tr,
    .woocommerce-page table.shop_table_responsive tr {
        display: block
    }

    .woocommerce table.shop_table_responsive tr td,
    .woocommerce-page table.shop_table_responsive tr td {
        display: block;
        text-align: right !important
    }

    .woocommerce table.shop_table_responsive tr td.order-actions,
    .woocommerce-page table.shop_table_responsive tr td.order-actions {
        text-align: left !important
    }

    .woocommerce table.shop_table_responsive tr td::before,
    .woocommerce-page table.shop_table_responsive tr td::before {
        content: attr(data-title) ": ";
        font-weight: 700;
        float: left
    }

    .woocommerce table.shop_table_responsive tr td.product-thumbnail::before {
        content: "" !important;
    }

    .woocommerce table.shop_table_responsive tr td.actions::before,
    .woocommerce table.shop_table_responsive tr td.product-remove::before,
    .woocommerce-page table.shop_table_responsive tr td.actions::before,
    .woocommerce-page table.shop_table_responsive tr td.product-remove::before {
        display: none
    }

    .woocommerce table.shop_table_responsive tr:nth-child(2n) td,
    .woocommerce-page table.shop_table_responsive tr:nth-child(2n) td {
        background-color: rgba(0, 0, 0, .025)
    }

    .pisol-eqw-cart-in-popup {
        width: 90%;
    }

}

/**
To hide the add to cart button from the variable product page
*/
/*
 .single_variation_wrap, .woocommerce-variation-add-to-cart.variations_button{
     display:none;
 }
 */

.pi-radio-group-label {
    margin-bottom: 20px;
}

.pi-eqw-qty-container {
    display: flex;
    align-items: center;
}

.pi-eqw-qty-container .quantity {
    width: 90px;
}

.pi-eqw-qty-container .pi-custom-button {
    margin-left: 10px;
    margin-right: 10px;
}

.pi-eqw-qty-container.pi-enquiry-on-out-of-stock.pi-show-enq {
    display: flex !important;
}

.pisol-eqw-popup-msg-container {
    width: 600px;
    margin: auto;
    max-width: 100%;
    background: #fff;
    padding: 15px 20px;
    text-align: center;
    border-radius: 4px;
    position: relative;
}

.product-quantity{
    width:120px;
}

.product-remove{
    text-align:center;
    width: 40px;
}