/**
 * Mageplaza
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Mageplaza.com license that is
 * available through the world-wide-web at this URL:
 * https://www.mageplaza.com/LICENSE.txt
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade this extension to newer
 * version in the future.
 *
 * @category    Mageplaza
 * @package     Mageplaza_ConfigureGridView
 * @copyright   Copyright (c) Mageplaza (https://www.mageplaza.com/)
 * @license     https://www.mageplaza.com/LICENSE.txt
 */

#mpcpgv-detail-title {
    position: relative;
    height: 50px;
}

#mpcpgv-detail-title > h3 {
    position: absolute;
    font-size: 18px;
}

.mpcpgv-reset {
    position: absolute;
    right: 0;
    border: 1px solid #c1c1c1;
    padding: 6px 16px;
}
.mpcpgv-reset:hover {
    background: #c1c1c1;
}

#mpcpgv-detail-total {
    font-weight: 700;
    font-size: 14px;
}

#mpcpgv-attribute-table {
    /*display: none;*/
    text-align: left;
    padding: 10px 0;
    max-height: 500px;
    /*min-width: 460px;*/
    width: 100%;
    margin-top: 20px;
}
#mpcpgv-attribute-table .mpcpgv-subtotal {
    font-weight: 600;
}

.mp-title {
    font-weight: bold;
    margin: 1% 0;
}

.mp-cgv-control {
    width: 80%;
}

#mpcpgv-attribute-table > thead > tr {
    font-weight: bold;
    font-size: 15px;
}

#mpcpgv-number {
    display: inline-grid;
    position: absolute;
    right: 8px;
    cursor: pointer;
    height: 32px;
}

.mpcpgv-input {
    width: 100%;
    min-width: 50px;
    max-height: 32px;
}

#mpcpgv-number > div {
    background: white;
    text-align: center;
    line-height: 16px;
    width: 20px;
    height: 16px;
    border-radius: 3px;
    border: 1px solid #c2c2c2;
}

#mpcpgv-attribute-table input[type="number"]::-webkit-inner-spin-button,
#mpcpgv-attribute-table input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#mpcpgv-attribute-table input[type="number"] {
    -moz-appearance: textfield;
    width: 54px;
    height: 34px;
    outline: none;
}

#mpcpgv-attribute-table input[type="number"]:focus {
    box-shadow: none;
    border-color: unset;
}

.mpcpgv-qty .increase-qty, .mpcpgv-qty .decrease-qty {
    padding: 2px;
    border-color: #6b7280;
}

input[name="qty"][form="product_addtocart_form"] {
    display: none;
}

.mpcpgv-qty .increase-qty {
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
}

#mpcpgv-attribute-table .tier-tooltip {
    min-width: 160px;
}

.mpcpgv-qty .decrease-qty {
    border-bottom: 0;
    border-right: 0;
}

#mpcpgv-attribute-table .swatch-option, #mpcpgv-attribute-inactive .swatch-option, #mpcpgv-simple-product .swatch-option {
    min-height: 30px;
    min-width: 42px;
}

#product_addtocart_form .swatch-opt {
    overflow: scroll;
    max-height: 500px;
}

.mpcpgv-inc {
    height: 15px;
    border-bottom: none;
}

.mpcpgv-inc:before{
    content: '';
    height: 15px;
    width: 15px;
    position: absolute;
    left: 33%;
    background: url('../images/angle-up-solid.svg') no-repeat;
}

.mpcpgv-dec:before{
    content: '';
    height: 15px;
    width: 15px;
    position: absolute;
    left: 33%;
    background: url('../images/angle-down-solid.svg') no-repeat;
}

.mpcpgv-qty {
    position: relative;
    width: 50px;
    min-width: 50px;
}

#mpcpgv-overflow {
    max-height: 350px;
    overflow-x: hidden;
}

#mpcpgv-simple-product {
    margin: 3% 0;
    max-height: 300px;
    overflow-y: scroll;
    width: 100%;
}

#mpcpgv-attribute-table td {
    padding: 11px 8px;
    text-align: center;
}

#mpcpgv-simple-product thead {
    font-weight: bold;
    font-size: 15px;
}

.mpcpgv-simple > .attributes > div {
    pointer-events: none;
}

.mpcpgv-delete-detail {
    cursor: pointer;
    text-align: right;
}

#mpcpgv-detail {
    /*display: none;*/
}

.mpcpgv-icon {
    height: 15px;
    width: 15px;
    display: unset;
    margin-left: 5px;
}

.mpcpgv-icon:after{
    content: '';
    height: 15px;
    width: 15px;
    position: absolute;
    background: url('../images/special-price.svg') no-repeat;
}

.mpcpgv-delete-detail:after{
    content: '\e604';
    font-size: 18px;
    color: #757575;
    font-family: 'luma-icons';
}

.mpcpgv-reset:before{
    content: '';
    height: 12px;
    width: 12px;
    position: absolute;
    left: 9px;
    top: 10px;
    background: url('../images/reset.svg') no-repeat;
}

.mpcpgv-tooltip {
    position: absolute;
    width: 110px;
    background-color: white;
    z-index: 6;
    top: 50%;
    left: -75%;
    border: 1px groove #c2c2c2;
    border-radius: 6px;
    text-align: center;
    padding: 5px;
}

.mpcpgv-price {
    position: relative;
}

.mpcpgv-reset span {
    margin-left: 10px;
    margin-right: 1px;
}

.mpcpgv-tocart {
    font-size: 1.8rem;
    margin-bottom: 0;
    margin-right: 1%;
    width: 125px;
    height: 50px;
}

.mpcpgv-special {
    text-decoration: line-through;
}

.mpcpgv-style-total{
    font-size: 18px;
}

#mpquickview-popup #product-options-wrapper {
    overflow-x: auto;
    padding: 5px;
}

.mpcpgv-attribute-sort {
    cursor: pointer;
    display: flex;
}

.mpcpgv-sort:before {
    font-family: 'luma-icons';
    padding: 0 2px;
}

.mpcpgv-sort-asc:before {
    content: '\e614';
}

.mpcpgv-sort-asc, .mpcpgv-sort-desc {
    /*display: none;*/
    font-size: 12px;
}

.mpcpgv-sort-desc:before {
    content: '\e613';
}
