/**
 * 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_ProductOptions
 * @copyright   Copyright (c) Mageplaza (https://www.mageplaza.com/)
 * @license     https://www.mageplaza.com/LICENSE.txt
 */

.mp-swatch-attribute .mp-swatch-option {
    background: rgb(240, 240, 240);
    color: rgb(148, 148, 148);
}

.mp-swatch-option.text {
    padding: 4px;
    height: auto;
}

.admin__field-control .mp-swatch-option {
    height: 30px;
}

.mp-swatch-option {
    font-size: 12px;
    font-weight: 700;
    line-height: 20px;
    height: 30px;
    padding: 1px 2px;
    min-width: 30px;
    max-width: 90px;
    float: left;
    margin: 0 10px 5px 0;
    text-align: center;
    cursor: pointer;
    position: relative;
    border: 1px solid rgb(218, 218, 218);
    overflow: hidden;
    text-overflow: ellipsis;
}

.mp-swatch-input {
    left: -1000px;
    position: absolute;
    visibility: hidden;
}

.mp-swatch-option.selected {
    outline: 2px solid #ff5501;
    border: 1px solid #fff;
    color: #333;
}

.mp-swatch-option.text.selected {
    background-color: #FFF !important;
}

.clearfix:after {
    content: " ";
    visibility: hidden;
    display: block;
    height: 0;
    clear: both;
}

.mp-swatch-option.text:not(.disabled):hover {
    outline: 1px solid #999;
    border: 1px solid #fff;
    color: #333;
}

.mp-swatch-option:not(.disabled):hover {
    outline: 1px solid #ff5501;
    border: 1px solid #fff;
    color: #333;
}

.mp-swatch-attribute.size .mp-swatch-option.selected {
    color: black;
    background: #fff;
    border: 1px solid #fff;
}

form#product_composite_configure_form i.mp-tooltip-icon {
    font-size: 1.8rem;
    margin-left: 7px;
    cursor: pointer;
}

form#product_addtocart_form i.mp-tooltip-icon {
    font-size: 1.7rem;
    margin-left: 6px;
    cursor: pointer;
}

.mp-img-wrapper {
    background: #fff;
    border: 1px solid #ccc;
    box-sizing: border-box;
    cursor: pointer;
    height: 20px;
    position: relative;
    width: 20px;
    margin-bottom: -5px;
}

.mp-img-tooltip-wrapper {
    display: inline-block;
}

.mp-img-wrapper img {
    bottom: 0;
    left: 0;
    margin: auto;
    max-height: 100%;
    max-width: 100%;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
    width: auto;
}

span.mp-line-through {
    text-decoration: line-through;
}

div[role=tooltip] ul.prices-tier .item {
    margin-top: 10px;
}

div[role=tooltip] ul {
    list-style-type: none;
}

i.mp-tier-price-icon {
    display: none;
}

.ui-tooltip {
    max-width: 35%;
    background: #fff;
    border: 1px solid #bbb;
    padding: 10px;
    position: absolute;
    z-index: 9999;
}