/**
 * 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:10px !important;
     margin-bottom:10px !important;
     text-align: center;
     cursor:pointer;
     padding:15px;
 }

 .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:var(--wpr-bg-6512f180-8592-42b7-97f8-b3bff18250eb) rgba(0,0,0,0.2) no-repeat center center ;
 }

 .pi-attribute-label{
     text-transform: capitalize;
 }

 .pi-row{
     display:block;
     padding:10px 0;
 }

 .pi-row-flex{
    display:flex;
    padding:10px 0;
 }

 .pi-col-4{
    width:33%;
 }

 .pi-col-12{
     width:100%;
 }

 .pi-form-control{
     padding:10px;
     width:100%;
     display:block;
     border:1px solid #ccc;
     box-sizing: border-box;
 }

 .pi-btn{
     padding:10px 20px;
     background:#ee6443;
     color:#fff;
     border:0px;
     cursor:pointer;
 }

 #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%;
}


@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)
    }
    
}

/** New cart table css design so we can avoid conflicts with themes */
.enquiry-cart-content-table{
    width:100%;
    border-spacing:0 15px;
    border: 0px !important;
    border: none !important;
    border-collapse: collapse !important; 
}

.enquiry-cart-content-table td{
    border:none !important;
    border-bottom:1px solid #ccc !important;
}

.enquiry-cart-content-table th{
    text-align:center;
    padding:10px 0px;
    background-color:#eee;
    border:0 !important;
}

.enquiry-cart-content-table td{
    text-align:center;
}

.enquiry-cart-content-table td textarea{
    padding:5px 10px;
    width:100%;
    resize:none;
    box-sizing: border-box;
}

.enquiry-cart-content-table .pi-eqw-product-thumb{
    margin:auto;
    max-width:100%;
    height:auto;
}

.enquiry-cart-content-table .woocommerce-cart-form__cart-item td.product-name a{
    text-decoration:none;
}

.enquiry-cart-content-table .woocommerce-cart-form__cart-item td{
    padding:10px;
}


.pi-remove-product{
    text-decoration:none;
}

@media(max-width:768px){

    .enquiry-cart-content-table thead{
        display:none;
    }

    .enquiry-cart-content-table .woocommerce-cart-form__cart-item{
        display:flex;
        flex-wrap:wrap;
    }

    .enquiry-cart-content-table .woocommerce-cart-form__cart-item td{
        display:block;
        width:100%;
    }

   .enquiry-cart-content-table .woocommerce-cart-form__cart-item td:not(.product-remove):not(.product-thumbnail):before {
    content: attr(data-title) ": ";
        font-weight: 700;
        float: left;
    }

    .enquiry-cart-content-table .woocommerce-cart-form__cart-item td.product-remove{
        width:50%;
        text-align:left;
    }
    
    .enquiry-cart-content-table .woocommerce-cart-form__cart-item td.product-thumbnail{
        width:50%;
    }
    
    .enquiry-cart-content-table .woocommerce-cart-form__cart-item td.product-thumbnail img{
        margin-right:0;
    }

    .enquiry-cart-content-table .woocommerce-cart-form__cart-item td.product-name,  .enquiry-cart-content-table .woocommerce-cart-form__cart-item td.product-price, .enquiry-cart-content-table .woocommerce-cart-form__cart-item td.product-quantity{
        text-align:right;
    }

    .enquiry-cart-content-table .woocommerce-cart-form__cart-item td.product-quantity input{
        display:inline-block;
        width:100px !important;
    }
}
/** end of cart table design */

#refresh-captcha{
    cursor:pointer;
    display:inline-block;
    margin-left:10px;
    width:30px;
    height:30px;
}

.captcha-image-container{
    display:flex;
    align-items:center;
}

.library-error{
    display: block;
    padding:10px;
    background:#f00;
    color:#fff;
    border-radius: 10px;
}

#captcha-image{
    border:1px solid #ccc;
    margin-left:10px;
}

.added-to-enq-cart:before{
    content:"\2713";
    color:inherit;
    margin-right:10px;
}

#pi-eqw-cart {
    position: fixed;
    z-index: 100000000;
    width: 40px;
    height: 40px;
}

#pi-eqw-cart.bottom-right {
    bottom: 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;
}

/** mini cart */
#pi-eqw-mini-cart{
    display:none;
    width:400px;
    position: fixed;
    background:#fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    border-radius:6px;
    overflow:hidden;
    z-index:1000000000;
    font-size:18px;
}

#pi-eqw-mini-cart.bottom-right{
    bottom:20px;
    right:20px;
}

#pi-eqw-mini-cart.bottom-left{
    bottom:20px;
    left:20px;
}

#pi-eqw-mini-cart.top-left{
    top:20px;
    left:20px;
}

#pi-eqw-mini-cart.top-right{
    top:20px;
    right:20px;
}

#pi-eqw-mini-cart header{
    padding:10px;
    background:#eee;
}

#pi-eqw-mini-cart content{
    padding:10px;
}

.pi-mini-cart-item{
    display:grid;
    grid-template-columns: 60px 2fr 20px;
    grid-gap:20px;
    margin-bottom:20px;
    align-items:center
}

.pi-mini-cart-item .thumbnail img{
    width:60px;
}

.pi-mini-cart-item .name-qty{
    margin-bottom:10px;
}

.pi-mini-cart-item .remove{
    width:20px;
}

.close-mini-cart{
    cursor:pointer;
    float:right;
    margin-right:10px;
    font-size:22px;
}

#pi-eqw-mini-cart content{
    position:relative;
}

#pi-eqw-mini-cart content.processing:after{
    content:"";
    display:block;
    position: absolute;
    width:100%;
    height:100%;
    top:0px;
    left:0px;
    background: rgba(200,200,200,0.5);
}

#pi-eqw-mini-cart footer{
    text-align:center;
    padding:10px;
}

#pi-eqw-mini-cart footer .button{
    padding:10px 20px;
}

.pi-remove-product{
    text-decoration: none;
}

@media(max-width:768px){
    #pi-eqw-mini-cart{
        width:100%;
        left:0px;
        bottom:0px;
    }
}
/* mini cart end */